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.
I cannot seem to login to my phpmyadmin(v3.4.7) on my browser.(tried using IE,Google,Firefox)
It showed the phpmyadmin login page, but when I enter the username(root) and the password,
the error message "#1043 Cannot log in to the MySQL server" came out.
My MySQL(v5.0.84) server is up and I can login via the CLI. (mysql -u root -p)
I can show the databases and tables via the CLI as well.
I have reset the password for MySQL, flush the privileges.
Restart both MySQL and httpd(v2.2.21, php v5.3.8) too but same error.
One question comes to mind. Are you connecting from your browser to localhost, meaning on the same machine that has MySQL installed and running? Or are you trying to connect from another computer to the MySQL server? If you're connecting from another computer did you setup MySQL to listen on the LAN IP and did you configure your firewall (iptables?) to allow connection?
indicating that, in my case, MySQL is only listening on my loopback IP. Check your MySQL configuration file. Also, in the output you posted I saw this:
Do not listen for TCP/IP connections at all. All interaction with mysqld must be made using named pipes or shared memory (on Windows) or Unix socket files (on Unix). This option is highly recommended for systems where only local clients are permitted.
I'm sure that once you get that fixed you'll be able to connect.
My MySQL only accept connection from localhost, so opening port 3306 should not be an issue.
I do not need connection to MySQL from remote host.
Which is why the phpmyadmin connect to the MySQL via localhost(apache).
Actually it was strange, I was comparing with my another web server and it works perfectly fine with "--skip-networking" option and allowing only localhost connection to MySQL.
I guess, I did not have the phpMyAdmin configuration storage table.
I created it and everything went well now. Thanks all for trying to help.
Code:
phpMyAdmin configuration storage
For a whole set of new features (bookmarks, comments, SQL-history, tracking
mechanism, PDF-generation, column contents transformation, etc.) you need to
create a set of special tables. Those tables can be located in your own
database, or in a central database for a multi-user installation (this database
would then be accessed by the controluser, so no other user should have rights
to it).
Please look at your ./scripts/ directory, where you should find a file called
create_tables.sql. (If you are using a Windows server, pay special attention to
FAQ 1.23).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.