WDlinux官方论坛's Archiver

kernel 发表于 2019-1-30 08:52

执行mysqlbackup.sh出错

[code][root@vps ~]# /www/wdlinux/wdcp/shell/mysqlbackup.sh
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect[/code]

admin 发表于 2019-2-1 12:03

root密码不对

kernel 发表于 2019-2-1 19:23

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=109913&ptid=63575]2#[/url] [i]admin[/i] [/b]


   可是root密码我是在wdcp里设置的,备份脚本也是wdcp计划任务自带的脚本,还需要在什么地方设置密码吗

ningjihai 发表于 2019-2-12 10:09

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=109901&ptid=63575]1#[/url] [i]kernel[/i] [/b]


    我的这个也是,怎么办呢 ?密码正确的

ningjihai 发表于 2019-2-12 10:20

[b]回复 [url=http://www.wdlinux.cn/bbs/redirect.php?goto=findpost&pid=109901&ptid=63575]1#[/url] [i]kernel[/i] [/b]


   
    把之前的系统中的这个文件复制一份到新系统中即可。
/www/wdlinux/wdcp/conf/mrpw.conf

这里面就是密码。新的3.3.5的版本这里是bug

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.