Answers for "import sql file in mysql ubuntu"

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
0

import sql mysql ubuntu

mysql -u username -p database_name < file.sql
#or, after login in to mysql
source sql_file_name_with_path.sql;
Posted by: Guest on August-17-2021

Code answers related to "import sql file in mysql ubuntu"

Code answers related to "SQL"

Browse Popular Code Answers by Language