Quote Originally Posted by Dj Mad View Post
it should be

mysql -uusername -pdatabase_name < dumpfile.sql
That syntax is wrong. There's a space between -u and the username. There is, however, no space between -p and the password (or the password can be left blank and entered at the prompt that follows).


@OP
cd to the directory where the .sql file is hosted, then run the command
Lifetalk Reviewed by Lifetalk on . How to IMPORT MySQL database using SSH in Kloxo On VPS ?? How to IMPORT MySQL database using SSH in Kloxo On VPS ?? :facepalm: Rating: 5