フォルダに移動しWAMP
ます。そして検索config.inc.php
ファイル。そのファイルを開くと、ファイルは次のようになります。
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
次の行を検索します。
$cfg['Servers'][$i]['auth_type'] = 'cookie';
「config」を「cookie」に変更します。
$cfg['Servers'][$i]['auth_type'] = 'config';
それを保存してから開くphpmyadmin
と、うまく機能します。
更新された質問に対する回答:
これは、デフォルト ユーザー root のパスワードがないことを示す単なる警告です。rootのパスワードを設定したい場合。
GO tp phpmyadmin interface->Previlages->select user root>edit Previlages->change password