How to do “mysqladmin flush-hosts” on VPS server?


How to fix this error "MySQL Database Error: Host '127.0.0.1' blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'.


Login to Putty and type the following command:

mysql -u root -p -e 'flush hosts'


and then enter your phpmyadmin password.

DONE.

  • phpmyadmin, mysqladmin
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Access your Folders(Linux/Centos) using WinSCP

Guide on how to access the folders in your vps linux! This is the easiest way, First make sure...

Changing Time Zone

Changing Time Zone in Linux:1. Login to your VPS server using Putty. 2. Type the following...

To change the VPS password (WinSCP / Putty)

To change the VPS password (WinSCP/Putty)   1. Login to SSH via xShell4 (Recommended) or Putty...

How to solve Permission denied Issue in Putty

To resolve the Permission denied issue in Putty (e.g. -bash ./configure: Permission denied)Login...

MySQL Table says IN USE, but table will not repair in PHPMyAdmin

From time to time MySQL corrupts itself. This message means that your table needs repair,...

Powered by WHMCompleteSolution