Answers for "import sql file in mysql using terminal"

SQL
8

linux command line import mysql database

# if your database is not locally hosted
mysql -u username -p -h dbhost dbname < filename.sql
Posted by: Guest on June-25-2020
2

import file mysql terminal

mysql -u<username> -p<password> databaseName < /path/fileName.sql
Posted by: Guest on December-13-2020

Code answers related to "import sql file in mysql using terminal"

Code answers related to "SQL"

Browse Popular Code Answers by Language