Macam-macam perintah import MySQL sederhana

MySQL command line

mysql> use db_name;
mysql> source backup-file.sql;

UNIX

shell> mysql db_name < backup-file.sql

Powershell

C:\> cmd.exe /c "mysql -u root -p db_name < backup-file.sql"


Posting Komentar

Lebih baru Lebih lama