我试图在 mysql 5.6 中创建一个新用户,但在执行查询时出现错误。请帮忙。
mysql> create user dsuser@'%' indentified by 'Passw0rd';<br></b>
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'indentified by 'Passw0rd'' at line 1
最佳答案
CREATE USER 'dsuser'@'%' IDENTIFIED BY 'Passw0rd';
也不要忘记用户名周围的引号。
关于mysql - 无法在mysql中创建新用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28403806/