Answers for "How database import using mysql command"

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 "How database import using mysql command"

Code answers related to "SQL"

Browse Popular Code Answers by Language