CREATE USER 'BOOKSQL'@'localhost' IDENTIFIED BY 'BOOKSQLPWD';
GRANT ALL PRIVILEGES
ON '*'
TO 'BOOKSQL'@'localhost'
WITH GRANT OPTION;
MySQL创建用户并授权--未测试
最新推荐文章于 2022-06-10 20:12:37 发布
CREATE USER 'BOOKSQL'@'localhost' IDENTIFIED BY 'BOOKSQLPWD';
GRANT ALL PRIVILEGES
ON '*'
TO 'BOOKSQL'@'localhost'
WITH GRANT OPTION;