How to import an SQL file using the command line in MySQL?
mysql -u username -p database_name < /path/file.sqlIt will ask for password after this commandmysql -u username -p database_name < /path/file.sqlIt will ask for password after this command