Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

MySQL: Table ‘SOME_TABLE’ doesn’t exist whereas it does exist

$
0
0

In recent development, I tried to connect MySQL database locally in my C# application, and it worked fine. But when I created the same database and tables using sql script in Ubuntu, and using the same application to connect the mysql database, below error/exception occurred:

Table ‘SOME_TABLE’ doesn’t exist

Logging into MySQL and I found the table does exist:

use mydb;
show tables;

Ultimately, it turns out it is the case–sensitive problem: in windows, this is not a problem, but in Ubuntu it is!

After changing the table name to right case (e.g. table name –> TABLE NAME), it worked fine!


Filed under: Programming Tagged: does exist, doesn't exist, mysql, Table

Viewing all articles
Browse latest Browse all 284

Trending Articles