$ mysql -h 192.168.1.1 -u user -ppassword akademi_db < akademi_db.sql    Â
Import CSV to MySQL Â Â Â Â
MariaDB [(none)]> load data infile ’kamus.csv’ into table eng_ind fields terminated by ’,’;    Â
Export MySQL to CSV Â Â Â Â
$ mysql -uroot -h ip_server -ppasword nama_database -B -e "select * from    Â
\`nama_tabel\`;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > sms.csv    Â
Contoh: Â Â Â Â
$ mysql -uroot -h localhost -pb1r0j4t3nk Jateng -B -e "select * from    Â
\`T_SMS_LOGEVENT\`;" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > sms.csv    Â
Backup MySQL Â Â Â Â
mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql    Â
Contoh: Â Â Â Â
$ mysqldump -u root -ptmppassword kampusdb > kampusdb.sql    Â
Restore MySQL ------------- $ mysql -u root -p[root_password] [database_name] < dumpfilename.sql    Â