Thread: Ssh
View Single Post

  #7 (permalink)  
Old 05-01-2008, 05:15 PM
webman1 webman1 is offline
Coder
 
Join Date: Sep 2007
Posts: 68
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
webman1 will become famous soon enough
Default

Thanks guys.

Managed to login over SSH with putty but still having problems.

I have a few domains in my account. Do i need to CD into a certain directory.

I am trying to use this command

mysqldump -u username -pPassword Databasename > /hsphere/local/home/Webserver/bckdb/test.sql


to backup my MySQL DB but getting the following error:

Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) when trying to connect


Any ideas?
Reply With Quote