mysql run sql file
mysql> source \home\user\Desktop\test.sql;
execute mysql file
mysql -u yourusername -p yourpassword yourdatabase < text_file
mysql load sql from file
mysql> use db_name;
mysql> source file_name.sql;
running external script mysql command
Copied shell> mysql db_name < text_file
running external script mysql command
Copied mysql> source file_name
mysql> \. file_name
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us