MySQL database table name is not case sensitive under Windows

Source: Internet
Author: User
Tags lowercase import database

Recently new recruits, lead to do a small function first practice practiced hand. is a feature that adds categories, there are additions and lists, very simple. After the function is done, the result is a large 500 on-line.

But I was normal in the local environment, I thought it might be PHP version inconsistency caused by the problem, just look at the code carefully to see if there is any unreasonable place, and then in the submission, or 500. Then look, and mention, is still 500. Very puzzled Ah, only asked the leader, the leader said, is the line MySQL field set the case sensitive, then changed, the result is still 500. Leader another look, I am, I am the name of the table should be capitalized, but my local is lowercase.

Oh, the big hole. The originally developed tables are lowercase, so there was no such problem. Also, in Windows Import database to MySQL table name is lowercase, to lower_case_table_names=0 in the configuration file, the value of 0 o'clock is case sensitive, 1 is insensitive

MySQL database table name is not case sensitive under Windows

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.