问题遇到的现象和发生背景
(1)我按照视频流程操作的,结果在创建数据库时,
报错ERROR 1064 (42000): You have an error in your SQL syntax;
(2)但up主是能正常操作的。
问题相关代码,请勿粘贴截图
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
4 rows in set (0.00 sec)
mysql> creat database teaching;
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 'creat database teaching' at line 1