close
今天我光弄這個
就弄了我ㄧ個晚上
所以一定要把它記起來
我才不想再花一個晚上弄這種東西
改/var/www/html/phpMyAdmin 權限755
首先去phpMyAdmin裡面的config.inc.php裡面修改
$cfg['PmaAbsoluteUri'] ='';=>
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';
$cfg['blowfish_secret'] = '';
=>$cfg['blowfish_secret'] = 'cookie';
(我就是這個忘了改 COOKIE畫面一直出不來 我弄到要重灌)
$cfg['Servers'][$i]['auth_type'] = 'config';
=>$cfg['Servers'][$i]['auth_type'] = 'cookie';
然後通通不要動
就可以進去phpMyAdmin設定帳號密碼
之後再去config.inc.php把
$cfg['Servers'][$i]['user'] = 'root';
=> $cfg['Servers'][$i]['user'] = '';
解決 我花了一個晚上的心得呀
不過之前弄到MySQL停止 subsys鎖住
還是不知道怎麼解決 結果又讓我重灌
慘痛的經驗
只要先去改到$cfg['Servers'][$i]['user'] = 'root';
設密碼啦 把root消掉啦 登入phpMyAdmin通通都會出問題
加油阿 下次不要再搞那麼久了 嗚嗚嗚
全站熱搜