https://stackoverflow.com/questions/9000147/how-to-easily-import-multiple-sql-files-into-a-mysql-database
In Windows (powershell):
cat *.sql | C:\wamp64\bin\mysql\mysql5.7.21\bin\mysql.exe -u user -p database
You will need to insert the path to your WAMP
MySQL
above, I have used my systems path.
In Linux (Bash):
cat *.sql | mysql -u user -p database
ไม่มีความคิดเห็น:
แสดงความคิดเห็น