UCenter info: Can not connect to mysql server
Error:access denied for user ‘root’@’localhost’ (using password:YES)
Errno:1045這是數據庫密碼不正確的錯誤提示,應該是自己在更換數據庫密碼的過程中,沒有修改ucenter配置文件造成的.//開源軟件:phpfensi.com
解決方法:
修改:uc_server/data/config.inc.php配置文件即可,這里順便提醒下,在更改discuz數據庫密碼過程中需要修改2個地方.
1、修改 config 目錄中的配置文件,代碼如下:
-rwxrwxrwx 1 root root 7944 Sep 6 2013config_global_default.php
-rw-r–r– 1 root root 4632 Nov 30 23:46 config_global.php
-rwxrwxrwx 1 root root 1512 Sep 5 2013config_ucenter_default.php
-rwxrwxrwx 1 root root 543 Mar 10 20:20 config_ucenter.php
2、修改 uc_server/data/config.inc.php 的配置文件.