|
|
@ -8,5 +8,5 @@ |
|
|
|
mysql -u yourusername -p yourpassword yourdatabase < query_file > results_file |
|
|
|
mysql -u yourusername -p yourpassword yourdatabase < query_file > results_file |
|
|
|
mysql --user="username" --database="databasename" --password="yourpassword" < "filepath" |
|
|
|
mysql --user="username" --database="databasename" --password="yourpassword" < "filepath" |
|
|
|
|
|
|
|
|
|
|
|
sql>>> source /path/to/script.sql |
|
|
|
mysql> source /path/to/script.sql |
|
|
|
source \\home\\user\\Desktop\\test.sql; |
|
|
|
source \\home\\user\\Desktop\\test.sql; |