2013年5月15日 星期三

Ubuntu中PHPMyAdmin新建的使用者無權限問題

編輯使用者權限,
由任意主機『%』改成本機『localhost』。

舊版UniformServer中PHPMyAdmin密碼錯誤無法連線MySQL問題

Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: YES) 
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.


無解,
1. 內部密碼還原無效。
2. 任何指令都無效。
3. bin內無相關重置用控制執行檔。

解法:
直接複製MySQL的Data到新版UniformServer即可。

Ubuntu建置PHPMyAdmin捷徑

sudo ln -s /usr/share/phpmyadmin /var/www