mycat linux on the catalog description

1. This reference from mycat official documents, specific can browse mycat official website

2.linux system following directory

MyCAT have compiled installation package provide, install and support the run on windows, Linux, Mac, Solaris and other systems.
Under linux can download Mycat-server-xxxxx.linux.tar.gz decompress in a directory, note directory can not have spaces in

Under Linux (Unix), to put the proposal under usr / local / Mycat directory, as follows:
The following is a way MyCAT modify the user's password (for reference only):


Catalog explained as follows:


bin directory of the program, a window store version and linux version, in addition to providing packaged into a version of the service, but also provides nowrap shell script commands to facilitate the selection and modification, into the bin directory:
running under Linux: ./ mycat console first to chmod + x *
Note: mycat supported commands {console | start | stop | restart | status | dump}


Store configuration files in the conf directory,

server.xml is Mycat server parameter adjustment and user authorization profile

schema.xml logic library definition tables and fragments and defined profile,

rule.xml are disposed in a regular file fragmentation, fragmentation rules specific information parameters stored separately as files, also under this directory, modify the configuration file, or by the need to restart Mycat port 9066 reload.


lib directory to store some of the main jar file mycat dependent.
log stored in the logs / mycat.log, one day files, logs configuration in conf / log4j.xml, depending on your needs, you can adjust the output level to debug, under debug level, the output will be more information to facilitate troubleshooting.

Note: deploy MySQL under Linux installation, the default table name case does not ignore the need to manually configure the next /etc/my.cnf
lower_case_table_names = 1 the Linux environment MySQL ignore the table name case, otherwise MyCAT time will be prompted to find
the wrong table!

Guess you like

Origin www.cnblogs.com/leolzi/p/11161584.html