Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I've just installed phpmyadmin on my bioLinux. When the logo screen shows http://localhost/phpmyadmin, and I try to log in it appears: #1045 Cannot log in to the MySQL server.
I've tried all posibilities. I install and reinstall it with the Synaptic Package manager, with and without password (using 'root' as username).
1. Did you install MySQL? phpMyAdmin is just a front end for that.
2. When you installed MySQL, what username and password did you set up as admin?
3. Can you log in from the command line to your MySQL database?
Answering those 3 should help you solve the problem - if not, post back and I'll try to help more.
When you do that, your prompt should change to a mysql> prompt that tells you are actually in. Type status at that prompt to confirm all is ok
-U is not the same as -u , but perhaps you typed the post wrong.
Can you open a database or browse a table from the command line? That will also tell you if mysql is working ok.
I'd also recommend giving mysqladmin a go to tell you more about what is going on.
By default, there is no password for root in mysql, so unless you've set it try logging in at the phpMyAdmin login screen with root user and blank for password.
phpMyAdmin does not allow blank passwords by default. You can change the behavior in config.inc.php but setting up a password for root is secure option. And if you can setup a new user which will have database specific privileges, that would be more secure.
just wanted to add my solution, tried everything without avail.
In the end removing "Require valid-user" from the phpmyadmin.conf file allowed me in to the web ui.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.