database - #1130 - Host ‘localhost’ is not allowed to connect to this MySQL server -
i issued command of:
drop user 'root'@'localhost'; grant privileges on . 'root'@'%';
...in phpmyadmin. after execution, forced out phpmyadmin. got:
error
#1130 - host 'localhost' not allowed connect mysql server,
how resolve problem?
use ip instead:
drop user 'root'@'127.0.0.1'; grant privileges on . 'root'@'%';
for more possibilities, see this link.
to create root user, seeing mysql local & all, execute following command line (start > run > "cmd" without quotes):
mysqladmin -u root password 'mynewpassword'
Comments
Post a Comment