当前位置:网站首页>MYCAT build

MYCAT build

2020-11-08 20:13:00 Convex convex

 Get into Mycat  Official website ,  Click on 

 Click on 

 Click to download Linux edition 

 Upload to the server and unzip ,  tar -zxvf Mycat-server-1.6.7.3-release-20190927161129-linux.tar.gz 

 Get into config Catalog ,  Modify the configuration server.xml The configuration file 
cd mycat/conf/

vim server.xml  You can change your account password ,  And modify the name of the database you need to access 

 modify schema.xml Configuration of : vim schema.xml

 The routing rules used in the above figure , If the primary key of the corresponding table is not id, Or there is no such routing rule ,  Need to be in rule.xml Make changes 

 Get into mycat Of bin Start in the directory 
//  Background start 
./mycat start  
//  Console launch 
./mycat console

版权声明
本文为[Convex convex]所创,转载请带上原文链接,感谢