I am trying to access phpMyAdmin. But it is asking for username and password. However I don't think I ever set one up. I tried to use username="root"
, password=""
or password="password"
or password="root"
. But no luck.
Any help please?
I am trying to access phpMyAdmin. But it is asking for username and password. However I don't think I ever set one up. I tried to use username="root"
, password=""
or password="password"
or password="root"
. But no luck.
Any help please?
you can try to set the password for root@localhost
to be blank. There are two ways:
The MySQL SET PASSWORD command:
SET PASSWORD FOR root@localhost=PASSWORD('');
Using the command-line mysqladmin tool:
mysqladmin -u root -pCURRENTPASSWORD password ''
For more info :- How to remove MySQL root password