Answers for "how to run a sql file via the mysql command line"

SQL
4

mysql run sql file

mysql> source homeuserDesktoptest.sql;
Posted by: Guest on March-19-2021
0

mysql terminal run sql file

$ mysql -h "server-name" -u "your_username" -p "your_password" "database-name" < "filename.sql"
Posted by: Guest on September-16-2021

Code answers related to "how to run a sql file via the mysql command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language