Query OK, 4 rows affected (0.61 sec) Â Â Â Â
Records: 4 Â Duplicates: 0 Â Warnings: 0 Â Â Â Â
•Menambah Primary Key    Â
MariaDB [kampusdb]> alter table mahasiswa add primary key  (nim) ;    Â
Query OK, 0 rows affected (0.74 sec) Â Â Â Â
Records: 0 Â Duplicates: 0 Â Warnings: 0 Â Â Â Â
Export / Import & Backup MySQL / MariaDB Â Â Â Â
Export Database Kamus ke File DBF Â Â Â Â
mysql –host=... –user=... –password=... -vvf MySQL database name < dump file name    Â
Contoh: Â Â Â Â
$ mysql -h localhost -u kamus -ppasword -vvf kamusdb < kamus.dbf    Â
Update Database    Â
$ mysql -h [alamat_IP] -u [nama_user] -p[password] nama_database < nama_database.sql    Â
Contoh: Â Â Â Â