I have a .sql file with an export from phpMyAdmin. I want to import it into a different server using the command line.
.sql
phpMyAdmin
I have a Windows Ser
Among all the answers, for the problem above, this is the best one:
mysql> use db_name; mysql> source file_name.sql;