I have file.sql, and I want to restore it. I found this command:
mysql -u username -p database_name < file.sql
Where should I put \'file.sql\' in
You can restore the dump using phpmyadmin as well but you have to sure that it must be .sql file.
The second way is if you are linux user than use the command line to restore the dump file.
mysql> mysql -uuser_name -ppassword table_name < /path/to/dump_file.sql