How can I import a database with mysql from terminal?
I cannot find the exact syntax.
in the terminal type
mysql -uroot -p1234; use databasename; source /path/filename.sql