mysql terminal run sql file 1

mysql terminal run sql file

$ mysql -h "server-name" -u "your_username" -p "your_password" "database-name" < "filename.sql"

Here is what the above code is Doing:
1. mysql -h "server-name" -u "your_username" -p "your_password" "database-name"
2. < "filename.sql"

Similar Posts