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;
mysql bash execute sql file
mysql -u user -p data_base_name < sql_file.sql
# execute sql file in target database or juste in mysql
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