(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
create database teaching;
是create,你少写了一个e