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
The following command works for me from the command line (cmd) on Windows 7 on WAMP.
d:/wamp/bin/mysql/mysql5.6.17/bin/mysql.exe -u root -p db_name < database.sql