'Adminer- Access denied for user 'root'@'localhost' (using password: NO)
I'm getting this error when i try to access my phpmyadmin databases from my site at 000webhost
Access denied for user 'root'@'localhost' (using password: NO)
but when i type localhost in URL and enter my login details through adminer's login, i could access phphmyadmin panel, but when tried using the site,i get the error..Any suggestions
My site is http://salon.host56.com/salonadmin.php
Solution 1:[1]
Maybe is the file permission? if the server is unix-like try chmod 644 salonadmin.php
Solution 2:[2]
Try sudo mysql_secure_installation
to setup password for root user
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | moogoo |
Solution 2 | Vasin Yuriy |