重启后 wordpress链接mysql账号错误
[color=#000][font=arial, sans-serif] 反应一个问题,就不截图了,也可能是个人设置错误。[/font][/color][color=#000][font=arial, sans-serif] 用的阿里云服务器,wdcp环境,装的wordpress,[/font][/color][color=#000][font=arial, sans-serif]可是重启服务器之后wordpress连接mysql竟然用的是[/font][/color][color=#000][font=arial, sans-serif]www,无密码。错误代码如下:[/font][/color]
[color=#000][font=arial, sans-serif] Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'www'@'localhost' (using password: NO) in /www/gamesife_com/public_html/[/font][/color][color=#000][font=arial, sans-serif]wp-includes/wp-db.php on line 1147[/font][/color]
[color=#000][font=arial, sans-serif] 实际上新建了mysql账号操作wordpress,在wordpress的wp-config.php里也配置正确。而www是apache的账号。
对linux不是很精通,故求助。万分感谢。
[/font][/color] 重装2次wdcp都一样 第一次以为装的不正确
想不明白为什么会用www链接mysql呢? 明明在wp-config.php 里已经正确配置了账号密码 PHP的设置里,设置了安全模式? 额 谢谢admin 恍然大悟 抽空试试 昨天给编译安装了 周末试试 然后给老大回复
页:
[1]