Disclaimer: The tutorials, guides and howtos in this forum are provided to you in the hope they are useful, but come with absolutely no warranties or guarantees of any kind, whether express or implied, including (without limitation) in respect to any loss of data or revenue. Following any guides or howtos is at your own risk and responsibility. No guarantees are made that the instructions, facts, advice or suggestions accompanying any guide or howto are accurate, correct, secure or error-free.
unblock with ‚mysqladmin flush-hosts
While connecting to the database via mysqlclient or phpmyadmin we some time might get below error saying:unblock with ‚mysqladmin flush-hosts
Now to solve the above issue, you can perform nay of the below steps:
1] Simple way is to retstart the mysql service by below command:/etc/init.d/mysql restart
2] Edit the my.cnf file and increase the below parameter and restart the mysql service:vi /etc/my.cnf
3] Fire below command by loging to the server via ssh:mysqladmin -uroot -ppassword flush-hosts;