删除特殊字符.的数据库
删除特殊字符的数据库
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| ichaoxing.com |
| mysql |
| performance_schema |
| test |
+--------------------+
5 rows in set (0.00 sec)
需要删除ichaoxing.com | 数据库
mysql> drop database ichaoxing.com;
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 ".com" at line 1
正确删除方法
mysql> drop database `ichaoxing.com`;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql>
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇: mysql最大字段数量及 varchar类型总结
- 下一篇:没有了