错误1146(42S02):表'aldobowi.section'不存在

问题描述:

MySQL表不存在。请,谁能帮忙?错误1146(42S02):表'aldobowi.section'不存在

mysql> show tables; 
+--------------------+ 
| Tables_in_aldobowi | 
+--------------------+ 
| Section   | 
| course    | 
| student   | 
+--------------------+ 
3 rows in set (0.00 sec) 

mysql> select * from section; 
ERROR 1146 (42S02): Table 'aldobowi.section' doesn't exist 
+1

根据你的操作系统的不同,'Section'可能与'section'不一样。 – mustaccio

+0

[MySQL中的表名是否区分大小写?](https://*.com/questions/6134006/are-table-names-in-mysql-case-sensitive) – mustaccio

表名可以区分大小写。您正在使用section而不是Section。大多数UNIX或LINUX系统都区分大小写。

+0

非常感谢您的区分大小写。 mysql>从Section选择*; + -------------------- + -------------- + ------ | SectionIndentifier |课程编号|年份|教练| | 85 | MATH2410 | 98 |国王| | 92 | CS1310 | 98 | Andreson | | 102 | CS3320 | 99 | Knuth | | 112 | MATH2410 | 99 | Chang | | 119 | CS1310 | 99 | Andreson | | 1135 | CS3380 | 99 |石头| + -------------------- + -------------- + ------ + ----- ------- + – Ramji