Default phpMyAdmin Login Credentials
-
25-01-2021 - |
문제
I downloaded and installed phpMyAdmin 4.8.5 on my windows. Upon opening it in the browser, it immediately asks for a Username and Password. I tried to submit root
for username while leaving the password black. I even try password
as password. Unluckily, both didn't work by default.
So I checked the web and I saw this from stackoverlow. Unfortunately, all of the given answers did not work for me and hello no, the thread is already closed.
해결책
Here's what I did
- Open phpmyadmin directory
- You will see
config.sample.inc
php file - Clone it, but remove the
sample
from the title - After cloning, open the file
config.inc
and look for$cfg['Servers'][$i]['AllowNoPassword'] = false;
- Set it to
true
By doing this, we are allowing the phpMyAdmin to submit an empty password.
Now, try root
as a username and leave the password blank.
Hope this will work for you as well.
다른 팁
By default, root is not allowed to login with password but with an auth_socket plugin.
The solution is to change that behavior by running next command in mysql (login to mysql first)
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password';
Securing phpMyAdmin on Ubuntu provides additional details.
Username: Root
Password: Empty- Nothing to write, Click Enter
It might be that you have not installed all Visual C++ Packages.The package cab be found on below link. http://wampserver.aviatechno.net/?lang=en&prerequis=afficher