Access denied for user 'root'@'slave2' (using password: YES)
数据库权限的问题。
grant all privileges on glpi.* to 'root'@'slave2' identified by '123456';
flush privileges;
本文解决了一个常见的MySQL数据库权限问题,具体表现为'root'用户在'slave2'主机上使用密码时被拒绝访问。通过执行GRANT语句赋予'root'用户对GLPI数据库的所有权限,并设置密码为'123456',最后刷新权限,成功解决了该问题。
Access denied for user 'root'@'slave2' (using password: YES)
数据库权限的问题。
grant all privileges on glpi.* to 'root'@'slave2' identified by '123456';
flush privileges;

被折叠的 条评论
为什么被折叠?