添加用户
CREATE USER 'finley'@'localhost' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'finley'@'localhost' with grant option;
授权 所有 权限 on *.*(通配符所有数据库) 给 finley 用户,
参考https://dev.mysql.com/doc/refman/5.7/en/adding-users.html
添加用户
CREATE USER 'finley'@'localhost' IDENTIFIED BY 'some_pass';
GRANT ALL PRIVILEGES ON *.* TO 'finley'@'localhost' with grant option;
授权 所有 权限 on *.*(通配符所有数据库) 给 finley 用户,
参考https://dev.mysql.com/doc/refman/5.7/en/adding-users.html