📜  mysql 由语法错误识别 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:04.754000             🧑  作者: Mango

代码示例1
# You don't use IDENTIFIED BY in GRANT queries, it's used in CREATE USER
CREATE USER 'root'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';