user3184611
user3184611

Reputation: 45

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

Upvotes: 1

Views: 12047

Answers (2)

Vasin Yuriy
Vasin Yuriy

Reputation: 535

Try sudo mysql_secure_installation to setup password for root user

Upvotes: 0

moogoo
moogoo

Reputation: 391

Maybe is the file permission? if the server is unix-like try chmod 644 salonadmin.php

Upvotes: 0

Related Questions