错误2005 (HY000):未知的MySQL服务器主机“danny@server”(1)

时间:2022-09-19 21:39:48

I am getting Error 2005 while trying to mysqldump from the remote mysql

我在尝试从远程mysql转储mysqldump时出错了

mysqldump -u root -pXXX -h danny@server test > test_sep11.sql

mysqldump -u root -pXXX -h danny@server测试> test_sep11.sql

1 个解决方案

#1


0  

Remove danny@. No need to specify a user, this is no ssh connection. The DNS lookup fails otherwise.

删除danny@。不需要指定用户,这不是ssh连接。否则,DNS查找失败。

mysqldump -u root -pXXX -h server test > test_sep11.sql 

#1


0  

Remove danny@. No need to specify a user, this is no ssh connection. The DNS lookup fails otherwise.

删除danny@。不需要指定用户,这不是ssh连接。否则,DNS查找失败。

mysqldump -u root -pXXX -h server test > test_sep11.sql