MySQL Modify configuration is case-sensitive

Source: Internet
Author: User

When using MySQL, the database name, table name, field name and so on are case-sensitive, this can be set through the configuration file. If you set a strict case sensitivity, you do not notice the case of the table name when you access the table, and you will be presented with an error that the table does not exist. Here's how to modify the configuration file:

Modify the My.ini file under the MySQL server installation directory by adding the following line under the Mysqld section set-variable=lower_case_table_names=0 (0: Case sensitive ; 1: Case insensitive) Finally, restart the MySQL service. My.ini files are generally in this path:/ETC/MY.CNF

MySQL Modify configuration is case-sensitive

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.