在mysql连接的客户端输入下列语句:
grant all privileges on 数据库名称 to root@localhost identified by 密码 with grant option;
flush privileges;
use jehc;
grant all privileges on jehc to root@localhost identified by 'root' with grant option;
flush privileges;
在mysql连接的客户端输入下列语句:
grant all privileges on 数据库名称 to root@localhost identified by 密码 with grant option;
flush privileges;
use jehc;
grant all privileges on jehc to root@localhost identified by 'root' with grant option;
flush privileges;