Answers for "mysql import command line for db"

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 database from a file using mysql commandline

mysql -u username -p database_name < file.sql
Posted by: Guest on January-20-2021

Code answers related to "mysql import command line for db"

Code answers related to "SQL"

Browse Popular Code Answers by Language