Case-insensitive MySQL table name settings _ MySQL

Source: Internet
Author: User
MySQL table names are case-insensitive. by default, MySQL in Linux is case-sensitive. the following settings enable MySQL to make table names case-insensitive:
1. log on with root and modify/etc/my. cnf;
2. add a row under the [mysqld] Node: lower_case_table_names = 1
3. restart MySQL;

The lower_case_table_names = 1 parameter is set to 1 by default in Windows and 0 in Unix. Therefore, this parameter is not encountered in Windows, the cause of the problem persists in linux (especially when mysql naming a table, it cannot contain uppercase letters, but the query cannot contain uppercase letters, it's confusing)

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.