mysqldump access denied

后端 未结 9 2110
闹比i
闹比i 2020-12-14 15:23

When I try to backup using mysqldump from ssh, I run the following command on machine 10.64.1.1. It gives the following error.

mysqldump --user=test -p=passwor

9条回答
  •  醉梦人生
    2020-12-14 15:56

    You have to run CMD.EXE as the Administrator:

    Right click on cmd.exe --> Run as Administrator and then type your command:

    mysqldump -u[username] -p[password] -h[ip or name] yourdatabasename > c:\sqlfile.sql

    It should work fine.

提交回复
热议问题