mysql添加用户方法
建立数据库gamesp
create database gamesp;
添加用户
grant all on 数据库名.* to 用户 名@localhost identified by ’密码’;
grant all on gamesp.* to newuser@localhost identified by ‘password’;
mysql添加用户方法
建立数据库gamesp
create database gamesp;
添加用户
grant all on 数据库名.* to 用户 名@localhost identified by ’密码’;
grant all on gamesp.* to newuser@localhost identified by ‘password’;