Quote:
Originally Posted by byran cheung
thanks reply ,
I can login mysql db in command prompt , now my problem can not use this password to login phpmyadmin .
I just would like to confirm mysql db root password is the same phpmyadmin root password ? thanks
|
Yes, it should be.
If you can log into mysql prompt, can you paste output of this query?
Code:
SELECT * FROM mysql.user WHERE User='root';
You can not login using blank password in phpmyadmin but you can log into mysql command prompt using blank password.
If you want to log into phpmyadmin without password, you have to give hard coded username password in config.inc.php file of phpmyadmin.
If you have used older versions of xampp where XAMPP security concept was not implemented, you can log into phpmyadmin without login screen as a root user. Just open the link
http://localhost/phpmyadmin and you are inside the phpmyadmin.
If you put these values in config.inc.php of phpmyadmin where root password is blank in user table of mysql database, it does not promt for username and password and you can loginto phpmyadmin without login credentials.
Code:
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
By the way, How many accounts of LQ do you have, it is not the same account from where you asked the question.