How to unblock with mysqladmin flush hosts

后端 未结 3 2088
野的像风
野的像风 2020-11-30 20:48

I have gone through similar cases listed here but it doesn\'t seem to work.

I was using MySQL Workbench to establish a connection with my database which is hosted on

3条回答
  •  忘掉有多难
    2020-11-30 21:10

    mysqladmin is not a SQL statement. It's a little helper utility program you'll find on your MySQL server... and "flush-hosts" is one of the things it can do. ("status" and "shutdown" are a couple of other things that come to mind).

    You type that command from a shell prompt.

    Alternately, from your query browser (such as phpMyAdmin), the SQL statement you're looking for is simply this:

    FLUSH HOSTS;
    

    http://dev.mysql.com/doc/refman/5.6/en/flush.html

    http://dev.mysql.com/doc/refman/5.6/en/mysqladmin.html

提交回复
热议问题