mysql 给指定用户授权远程链接指定数据库

mysql> grant all privileges on book.* to ‘book’@’%’identified by ‘book’ with grant option;
Query OK, 0 rows affected (0.02 sec)

mysql> flush privileges;

发表评论

电子邮件地址不会被公开。 必填项已用*标注