Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
解決方法:
/var/www/html/phpmyadmin/ config.sample.inc.php → config.inc.php
wamp directory \apps\phpmyadmin\ config.inc.php
phpmyadmin出現 #1045 - Access denied for user 'root'@'localhost' (using password: NO)的錯誤,那麼應該看下面phpmyadmin的設置!
當然,對於phpMyAdmin文件夾內的config.inc.php文件進行MySQL帳號和密碼的修改,
文件config.inc.php是phpMyAdmin的配置文件
對於config.inc.php文件,最重要的即是修改加入phpMyAdmin連接MySQL的用戶名和密碼。尋找到代碼行:
// $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
將「//」註釋號刪除,將phpmysqlMySQL中配置的用戶名和密碼刪除(遠程服務器的請聯繫你的空間服務商),比如這裡:
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
Error
The configuration file now needs a secret passphrase (blowfish_secret).
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['auth_type'] = 'http';
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。