Failed SSH mysql restore - no errors

spacefish

New member
Joined
Mar 5, 2009
Messages
4
I'm trying via SSH to restore a 400 MB+ db dumped from elsewhere but just get a mysql help/info spiel spat back at me. There are no errors.

This is my first time using SSH, here's my command:
  • mysql -u username -p password databasename < file.sql

What's going wrong? :confused:


Edit: Tried again without including PW, which it then requested and db is now on it's way to it's destination.
 
Last edited:
If you want to use your password on the command line in one go, dont put a space between -p and the password :)
 
Back
Top