Use tools nvicat when connecting mysql error message:
ERROR 1129 (00000): #HY000Host ‘192.168.31.242’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’
Solution: command line or terminal: mysqladmin the flush--uroot--p the hosts -H 127.0.0.1
Then enter the root account password