MySQLにrootのパスワードがないと叱られる

初期状態でmyadminをインストールするとパスワードなしで
インストールされる
パスワードはmyadminでROOTと127.に設定するが
この後接続できなくなる

C:\xampp\phpMyAdminのconfig.inc.phpの
xxx部分にmyadminで設定したパスワードを記載


$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;
$cfg[‘Servers’][$i][‘user’] = ‘root’;
$cfg[‘Servers’][$i][‘password’] = ‘xxxxx’;
$cfg[‘Servers’][$i][‘extension’] = ‘mysqli’;
$cfg[‘Servers’][$i][‘AllowNoPassword’] = true;
$cfg[‘Lang’] = ”;

カテゴリー php