Analysis and research on the problem of table name full lowercase after mycat connection database

Source: Internet
Author: User
Tags lowercase

Preliminary study: When deploying logical table name case blending in Mycat by deployment discovery, the full change occurs after the Mycat connection. Easy to cause Error logic table (create physical table by mixed table name);

Possible ways to Save:

1, Linux deployment installed MySQL, the default is not to ignore the table name case, you need to manually to/etc/my.cnf under the configuration Lower_case_table_names=1 to make the Linux environment MySQL ignore the table name casing, Otherwise, you will be prompted to find a table error when using Mycat!

2. The official issues mentioned that this issue was not seen on the 1.6.5 release. Select Upgrade.

Description

These methods are not necessarily feasible and need to be practiced. May also stay in the practical stage, the concept of mycat is not very well known to lead to the above problems arise.

Reference:

https://github.com/MyCATApache/Mycat-Server/issues/1498

Http://it.dataguru.cn/thread-624130-1-1.html

Analysis and research on the problem of table name full lowercase after mycat connection database

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.