PHPMyAdmin MySQL Permission Issues
Solved
zaldiar2
Posted messages
11
Status
Member
-
Amine DZ -
Amine DZ -
Hello,
I am using Mac OSX 10.3.9, Apache/2.0.52 (Unix) PHP/4.3.9 MYSQL 4.0.17.
Everything was fine with phpMyAdmin, then I followed an on-screen recommendation that it was safer to have a password for the root user. So I set a password for root@localhost. And now: phpMyAdmin refuses to connect to MySQL! The message is: phpMyAdmin attempted to connect to the MySQL server, and the server rejected the connection. Please check the values of "host", "username", and "password" in config.inc.php and make sure they match the information provided by the MySQL server administrator. I tried modifying config.php.ini by adding the password, but nothing works. And now MySQL won't start either! In the terminal: "can't connect to MySQL server through socket '/tmp/mysql.sock'.
If someone could tell me:
- how to fix my error
- how to restart MySQL
etc.
Thanks a lot.
I am using Mac OSX 10.3.9, Apache/2.0.52 (Unix) PHP/4.3.9 MYSQL 4.0.17.
Everything was fine with phpMyAdmin, then I followed an on-screen recommendation that it was safer to have a password for the root user. So I set a password for root@localhost. And now: phpMyAdmin refuses to connect to MySQL! The message is: phpMyAdmin attempted to connect to the MySQL server, and the server rejected the connection. Please check the values of "host", "username", and "password" in config.inc.php and make sure they match the information provided by the MySQL server administrator. I tried modifying config.php.ini by adding the password, but nothing works. And now MySQL won't start either! In the terminal: "can't connect to MySQL server through socket '/tmp/mysql.sock'.
If someone could tell me:
- how to fix my error
- how to restart MySQL
etc.
Thanks a lot.
Configuration: Mac OS X Firefox 2.0.0.11
14 answers
Hello,
I'm on Windows XP with the same problem on phpMyAdmin. After searching all afternoon and testing all the tips I found online, it still didn't work.
Fortunately, I just found the solution ^^
I just needed to clear the cache of Firefox* so that it would read the config.inc.php file again.
To know if you have the same problem as me, you just need to switch to private browsing on Firefox and launch phpMyAdmin. If it works, it means you have a cache problem.
*To clear the cache of Firefox 3.5/3.6:
Tools > Options > Advanced > Network tab > Offline Storage > Clear Now.
I'm on Windows XP with the same problem on phpMyAdmin. After searching all afternoon and testing all the tips I found online, it still didn't work.
Fortunately, I just found the solution ^^
I just needed to clear the cache of Firefox* so that it would read the config.inc.php file again.
To know if you have the same problem as me, you just need to switch to private browsing on Firefox and launch phpMyAdmin. If it works, it means you have a cache problem.
*To clear the cache of Firefox 3.5/3.6:
Tools > Options > Advanced > Network tab > Offline Storage > Clear Now.
It's working well, thank you very much ;)