1、新建用户:新建wordpress用户
CREATE USER wordpress@localhost IDENTIFIED BY “密码并且要用引号括起来”;
2、新建数据库
CREATE database <数据库名>;
3、授权
GRANT all privileges ON wordpress TO ‘wordpress’@‘localhost’ identified by “密码”
1、新建用户:新建wordpress用户
CREATE USER wordpress@localhost IDENTIFIED BY “密码并且要用引号括起来”;
2、新建数据库
CREATE database <数据库名>;
3、授权
GRANT all privileges ON wordpress TO ‘wordpress’@‘localhost’ identified by “密码”