当前位置:网站首页>Mycat搭建
Mycat搭建
2020-11-08 20:13:00 【凹凸凸】
进入Mycat 官网, 点击

点击

点击下载Linux版本

上传至服务器并解压, tar -zxvf Mycat-server-1.6.7.3-release-20190927161129-linux.tar.gz

进入config目录, 修改配置server.xml配置文件
cd mycat/conf/

vim server.xml 可以修改账户密码, 以及修改为自己需要访问的数据库名

修改schema.xml的配置: vim schema.xml

上图中用到的路由规则,如果对应表的主键不是id,或者不存在该路由规则, 需要在rule.xml进行更改

进入mycat的bin目录下进行启动
// 后台启动
./mycat start
// 控制台启动
./mycat console
版权声明
本文为[凹凸凸]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/2954646/blog/4708323
边栏推荐
- Implementation of warehouse management system with ABP (net core) + easyUI + efcore
- net.sf.json.JSONObject对时间戳的格式化处理
- net.sf.json . jsonobject's format processing of time stamp
- 深拷贝
- Come and have a look! What is the relationship between AQS and countdownlatch?
- read文件一个字节实际会发生多大的磁盘IO?
- 简明 VIM 练级攻略
- PHP generates unique strings
- How much faster is a server equipped with a SSD than a mechanical hard disk
- Chapter 2 programming exercises
猜你喜欢

Regular backup of WordPress website program and database to qiniu cloud

c++ opencv4.3 sift匹配

进程 线程 协程

线程池运用不当的一次线上事故

C + + opencv4.3 sift matching

动态规划之子序列问题解题模板

Tencent: Although Ali's Taichung is good, it is not omnipotent!

To introduce to you, this is my flow chart software—— draw.io

abp(net core)+easyui+efcore实现仓储管理系统——出库管理之五(五十四)

使用Fastai开发和部署图像分类器应用
随机推荐
Tencent: Although Ali's Taichung is good, it is not omnipotent!
An online accident caused by improper use of thread pool
PHP生成唯一字符串
Introduction to latex
【Elasticsearch 技术分享】—— 十张图带大家看懂 ES 原理 !明白为什么说:ES 是准实时的!
CountDownLatch 瞬间炸裂!同基于 AQS,凭什么 CyclicBarrier 可以这么秀?
Classical dynamic programming: longest common subsequence
How much disk IO does a byte of read file actually take place?
构造回文的最小插入次数
简明 VIM 练级攻略
To introduce to you, this is my flow chart software—— draw.io
Mongodb add delete modify query operation
net.sf.json.JSONObject对时间戳的格式化处理
中缀表达式转后缀表达式
Python 列表的11个重要操作
If the programming language as martial arts unique! C++ is Jiu Yin Jing. What about programmers?
动态规划之子序列问题解题模板
快来看看!AQS 和 CountDownLatch 有怎么样的关系?
Why need to use API management platform
Introduction and application of swagger