2017-09-01 15 views
0

MySQLテーブルが存在しません。どうか誰でも助けてくれますか?ERROR 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://stackoverflow.com/questions/6134006/are-table-names-in-mysql-case-sensitive) – mustaccio

答えて

1

テーブル名は大文字と小文字を区別することができます。 Sectionの代わりにsectionを使用しています。大部分のUNIXシステムまたはLINUXシステムでは、大文字と小文字が区別されます。

+0

大文字と小文字を区別していただきありがとうございます。 mysql> select * from Section; + -------------------- + -------------- + ------ | SectionIndentifier | CourseNumber |年|インストラクター| | 85 | MATH2410 | 98 |キング| | 92 | CS1310 | 98 | Andreson | | 102 | CS3320 | 99 |クヌース| | 112 | MATH2410 | 99 |チャン| | 119 | CS1310 | 99 | Andreson | | 1135 | CS3380 | 99 |ストーン| + -------------------- + -------------- + ------ + ----- ------- + – Ramji

関連する問題