phpmyadmin - #1130 - Host 'localhost' is not allowed to connect to this MySQL server - After running an Acunetix scan -
i know type of question has been asked lots of times, none answer problem. please read carefully.
i running website on localhost using wamp server normally. when today decided run acunetix scan vulnerabilities on localhost server.
acunetix sent tons of commands mysql table in short period of time ( since it's localhost commands went fast ) cause mysql server crash error:
#1130 - host 'localhost' not allowed connect mysql server
what i've tried:
running mysql through mysqld --skip-grant-tables had access mysql while on that, tried running
drop user 'root'@'127.0.0.1'; grant privileges on . 'root'@'%';
but got error:
mysql> drop user 'root'@'127.0.0.1'; grant privileges on . 'root'@'%'; error 1290 (hy000): mysql server running --skip-grant-tables opt ion cannot execute statement error 1064 (42000): have error in sql syntax; check manual corresponds mysql server version right syntax use near 'to 'r oot'@'%'' @ line 1
i admit mysql noob did homeworks , searched google, unable find solution.
any ?
i managed ti fix issue reinstalling wamp server , uninstalling, mysql.
when server running --skip-grant-tables, disable mysql security you're not allowed grant commands. can do, access "mysql" database , directly select , update rows need change. in case user table.
Comments
Post a Comment