Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my linux server , there is phpmyadmin installed , I can use root user to login phpmyadmin via web browser , after I changed the mysql root password ( use command line ) , I no longer use the root user to login phpmyadmin .
I just tried to reset the mysql root password in command line , but still can not use the new password to lgoin phpmyadmin , the error is #2002 Cannot log in to the MySQL server , would advise how to fix it ? is it possible to change the phpmyadmin to null password ? thanks
I advise against using phpmyadmin. It is a common attack vector for hacking servers. You would better be served by learning MySQL and creating yourself scripts for common tasks (e.g. backing up the database, etc). I realize most people who use phpmyadmin don't like to hear that but I implore you to avoid using it.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.