mysql给用户授权 创建mysql用户test1;创建数据库myhhd_v2;登录root用户:mysql -uroot -p,然后键入密码;grant all on myhhd_v2.* to test1@‘%’;flush privileges;