当前位置:网站首页>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
边栏推荐
- One minute comprehensive understanding of forsage smart contract global shared Ethereum matrix plan
- python开发qt程序读取图片的简单流程
- Flink系列(0)——准备篇(流处理基础)
- Solve the failure of go get download package
- Introduction and application of swagger
- 给大家介绍下,这是我的流程图软件 —— draw.io
- 前后端分离跨域问题解决方案
- Python 列表的11个重要操作
- 单例模式的五种设计方案
- Interesting article sharing: what is the difference between C language and C + +, C?
猜你喜欢

在Python中创建文字云或标签云

寻找性能更优秀的不可变小字典

Looking for a small immutable dictionary with better performance

构造回文的最小插入次数

Introduction and application of swagger

Your random IO hard disk

An online accident caused by improper use of thread pool

Looking for better dynamic getter and setter solutions
![[elastic search technology sharing] - ten pictures to show you the principle of ES! Understand why to say: ES is quasi real time!](/img/4b/176185ba622b275404e2083df4f28a.jpg)
[elastic search technology sharing] - ten pictures to show you the principle of ES! Understand why to say: ES is quasi real time!

C + + opencv4.3 sift matching
随机推荐
An online accident caused by improper use of thread pool
Summary: in October, more investment management strategies have come to the new overseas defi project!
Why need to use API management platform
实验
寻找性能更优秀的不可变小字典
Awk implements SQL like join operation
AI香水来了,你会买吗?
【云服务】阿里云服务器ECS实例规格那么多,如何选型?最佳实践说明
Case analysis of entitycore framework
[cloud service] there are so many ECS instances on alicloud server, how to select the type? Best practice note
给大家介绍下,这是我的流程图软件 —— draw.io
搭载固态硬盘的服务器究竟比机械硬盘快多少
Using k3s to create local development cluster
实验
VirtualBox安装centos7
Looking for a small immutable dictionary with better performance
Server side resolution of lengthfieldbasedframedecoder of GetBytes
数组初相识
Countdownlatch explodes instantly! Based on AQS, why can cyclicbarrier be so popular?
experiment