+3 votes
in Databases by (56.5k points)
I want to import data from a large SQL file to the MySQL database using the command line. What command should I use?

1 Answer

+1 vote
by (348k points)
selected by
 
Best answer

You can run the following command on the terminal to import the data to the MySQL database.

mysql -u user_name -p database_name < filename.sql

 

Related questions

+3 votes
1 answer
+3 votes
1 answer
+4 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

...