标签:访问权限 with 创建 class blog host l数据库 pre div
mysql -hlocalhost -uroot -p回车然后输入密码; mysql> use mysql; // 创建远程访问权限的用户admin ,密码:123456 CREATE USER ‘admin‘@‘192.168%‘ IDENTIFIED BY ‘123456‘; // 赋权 grant all privileges on *.* to ‘admin‘@‘192.168%‘ identified by ‘123456‘ with grant option; mysql> flush privileges; select * from host;
标签:访问权限 with 创建 class blog host l数据库 pre div
原文地址:http://www.cnblogs.com/guxuanqing/p/7604256.html