Originally Posted by
Braveyy
I was trying to connect to a remote mysql server,i was not able to connect to it as a result of which connection through my host IP address is blocked.
This is the exception that i am getting java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'hosthere' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"
How do i use mysqladmin flush-hosts i am not able to understand.Where do i write it.Is it in the command prompt.Can anyone guide me.