1.新建远程连接数据库的用户abc
mysql> grant all privileges on discuz.* to abc@"%" identified by '123456;
musql> grant all privileges on discuz.* to abc@"localhost" identified by '123456;
all PRIVILEGES 表示赋予所有的权限给指定用户,
1.新建远程连接数据库的用户abc
mysql> grant all privileges on discuz.* to abc@"%" identified by '123456;
musql> grant all privileges on discuz.* to abc@"localhost" identified by '123456;
all PRIVILEGES 表示赋予所有的权限给指定用户,