mysql如何授权给指定的ip账号进行登录

GRANT ALL PRIVILEGES ON *.* TO 'aitang'@'192.168.100.142' IDENTIFIED BY '123' WITH GRANT OPTION;
FLUSH PRIVILEGES;

posted @ 2018-04-04 10:02  Roger胜  阅读(4146)  评论(0编辑  收藏  举报