phpMyAdminの「ルート」という言葉はどういう意味ですか?
アドレスバーに何かを書くたびにlocalhost/phpmyadmin
、ユーザー名とパスワードの入力を求められますが、それらが何なのかわかりません。いつ、どこで設定したか覚えていません。phpMyAdmin にログインするためのユーザー名とパスワードはどこから取得できますか?
phpMyAdminの「ルート」という言葉はどういう意味ですか?
アドレスバーに何かを書くたびにlocalhost/phpmyadmin
、ユーザー名とパスワードの入力を求められますが、それらが何なのかわかりません。いつ、どこで設定したか覚えていません。phpMyAdmin にログインするためのユーザー名とパスワードはどこから取得できますか?
Sometimes it doesn't get login with username = root
and password
, then you can change the default settings or the reset settings.
Open config.inc.php
file in the phpmyadmin folder
Instead of
$cfg['Servers'][$i]['AllowNoPassword'] = false;
change it to:
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Do not specify any password and put the user name as it was before, which means root
.
E.g.
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
This worked for me after i had edited my config.inc.php
file.
mysql> SET PASSWORD for 'root'@'localhost' = password('yournewpassword');
これをチェックしてください... https://hsnyc.co/how-to-set-the-mysql-root-password-in-localhost-using-wamp/