Answers for "how to run mysql file from command line"

SQL
4

execute mysql file

mysql -u yourusername -p yourpassword yourdatabase < text_file
Posted by: Guest on June-01-2020
3

mysql load sql from file

mysql> use db_name;
 mysql> source file_name.sql;
Posted by: Guest on April-29-2020

Code answers related to "how to run mysql file from command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language