How to re-enable the grant table with mysql

root@dell:~# mysqladmin flush-privileges -uroot -p

When you create accounts with INSERT, it is necessary to use FLUSH PRIVILEGES to tell the server to reload the grant tables. Otherwise, the changes go unnoticed until you restart the server. With CREATE USER, FLUSH PRIVILEGES is unnecessary.

As usual when you modify the grant tables directly, you must tell the server to reload them with FLUSH PRIVILEGES so that the privilege changes take effect.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.