mysqldump access denied

后端 未结 9 2130
闹比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 16:07

    In windows, I resolved it by making a directory and then dumping *.sql file in backup directory.

    C:\backup

    There are no issues with commands :
    Remove the [ ] square brackets

    mysqldump -u[username] -p[password] -h[ip] yourdb > C:\backup\sqlfile.sql

    It worked for me:)

提交回复
热议问题