在mysql交互终端中,当我想创建一个新的数据库时
mysql> create database albedo-new;
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 '-new' at line 1我不确定mysql是否允许在数据库名称中使用'-‘。
发布于 2017-07-05 10:26:54
mysql不允许在数据库名称中使用连字符
使用反引号
create database `albedo-new`https://stackoverflow.com/questions/44916136
复制相似问题