By default, UbuntuLinux configuration is case-insensitive for MySQL table names.

Source: Internet
Author: User
In the UbuntuLinux system, MySQL table names are case-sensitive by default, while in Windows, MySQL tables are case-insensitive by default. The specific method for modifying MySQL is as follows: Java code sudovi/etc/mysql/my. cnf means to first find your MySQL my. the cnf configuration file is modified. Of course, if your path is not necessarily the same as mine, note that in Ubuntu Linux, the MySQL table name is case sensitive by default, in Windows, MySQL is case-insensitive by default.

The specific method for modifying MySQL is as follows:

Java code
  1. Sudo vi/etc/mysql/my. cnf
 
It means to first find and modify the my. cnf configuration file of your MySQL instance. Of course, if your path is not necessarily the same as mine, pay attention to this.

Add in [mysqld]

Java code
  1. Lower_case_table_names =1
 



After the configuration is complete, restart MySQL.
Java code
  1. Sudo/etc/init. d/mysql restart
 
The ignore size setting is complete in Linux.
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.