How to import an SQL file using the command line in MySQL?

​mysql -u root -p db_name < backup-file.sql​

Comments