+1 vote
in Databases by (4k 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

0 votes
by (18k points)

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

 

...