我尝试使用此命令添加用户:
MariaDB [(none)]> CREATE USER 'myuser'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'somePassword';
但它抛出了这个错误
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BY 'somePassword'' at line 1
有人可以帮我解决我做错了什么吗?