A detail of the default requirements for table name capitalization under Windows and Linux for MySQL

Source: Internet
Author: User

Build the project environment in the virtual machine today, steal the lazy, directly copy the table in the native database to the database in the virtual machine, then start the project, project one start prompt: SQLyog

Table ' sdmqrt. Qrtz_locks ' doesn ' t exist

I can not find the table, strange Ah, my native database can not be a little table ah, check the virtual machine in the table also does exist. The problem is coincidentally in the Qrtz_locks table, that is, the dispatch task table, Spring quartz happens to have a bug, and then I fell into that bug, I do not know this bug can be directly Baidu .

According to the method of how to deal with the bug, and I also suspect that this machine is good how can be a bug in the virtual machine. All kinds of toss no solution, helpless directly find database build library script to execute again, and then suddenly found a problem, the database appears in uppercase table name and lowercase table name, I instantly think of a possible, re-execute the program is normal.

Then Baidu confirmed my guess: Linux under the default is the table name of the difference between the case, this is not the same as under Windows, this default processing is very strange. As for the change to the case-insensitive this Baidu a bit is not listed.

A detail of the default requirements for table name capitalization under Windows and Linux for MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.