Answers for "run sql command in bash script"

SQL
0

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
Posted by: Guest on March-22-2021
0

run sql script from command line

mysql -u yourUserName -p yourDatabaseName < yourFileName.sql
Posted by: Guest on July-14-2021

Code answers related to "run sql command in bash script"

Code answers related to "SQL"

Browse Popular Code Answers by Language