PDA

View Full Version : ssh help


lioncool1589
02-23-2003, 01:22 AM
anyone could help me back up files through ssh i got this error

bash-2.05$ mysqldump --opt -u**** -p**** clan_racknine_net > c:\dumpz.sql

mysqldump: Got error: 1130: Host 'localhost.localdomain' is not allowed to connect to this MySQL server when trying to connect

Sebastian
02-23-2003, 04:57 AM
you can't do that... you have to dump it onto the server then you can download it after it dumps.

mysqldump --opt -uUSERNAME -p databasename > /path/to/dump.sql

make sure you are logged into mysql first.

lioncool1589
02-23-2003, 09:08 AM
i tried this still get same error any idea?

bash-2.05$ mysqldump --opt -u**** -p**** clan_racknine_net > /home/maindump.sql