Blog

お名前.comレンタルサーバーでphpMyAdminの#2002 MySQL サーバにログインできませんの対策方法

phpMyAdmin直下のconfig.sample.inc.phpをconfig.inc.phpにリネームして、config.inc.phpの下記の部分を書き換えることでアクセスできるようになりました。

$cfg['Servers'][$i]['host'] = 'localhost';

$cfg['Servers'][$i]['host'] = 'xxxxxxx.cgidb';

'localhost'の部分はホスト名となります。