Cormac
New Member
Hi guys,
I have a SSH session open on my VPS. I have cd'd into the httpdocs folder in which I have placed a file called db.sql. I have created a DB via my control panel with the necessary username and password.
I'm running this command:
mysql -u DBusername -p DBpassword DBname < db.sql
But I'm getting an error stating "command not found". What am I doing wrong?
I have a SSH session open on my VPS. I have cd'd into the httpdocs folder in which I have placed a file called db.sql. I have created a DB via my control panel with the necessary username and password.
I'm running this command:
mysql -u DBusername -p DBpassword DBname < db.sql
But I'm getting an error stating "command not found". What am I doing wrong?