I have several sql files and I want to import all of them at once into a MySQL database.
sql
I go to PHPMyAdmin, access the databa
PHPMyAdmin
Enter the mysql shell like this.
mysql --host=localhost --user=username --password --database=db
Then use the source command and a semicolon to seperate the commands.
source file1.sql; source file2; source file3;