MySQL Database Settings table name is case sensitive

Source: Internet
Author: User
Tags mysql command line

Friends who use MySQL sometimes encounter case-insensitive table names, which can be cumbersome to import data or back up a database.

How to set the MySQL database table name is case-sensitive, configured as follows:

1. Modify the MySQL configuration file My.ini

My.ini file included in

Character_set_server=utf8
lower_case_table_names=2

2. Uninstalling the MySQL service

3. Installing the MySQL Service

Switch to the MySQL command line and execute the install command

Mysqld--install MySQL--defaults-file= "D:\Program Files (x86) \mysql\my.ini"

Accomplishment reference までに, よろしくお willing いします.

MySQL Database Settings table name 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.