当前位置:网站首页>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
边栏推荐
- MongoDB数据库
- Using GaN based oversampling technique to improve the accuracy of model for mortality prediction of unbalanced covid-19
- Using fastai to develop and deploy image classifier application
- Flink's sink: a preliminary study
- 学会了volatile,你变心了,我看到了
- Python 列表的11个重要操作
- Five design schemes of singleton mode
- getBytes之 LengthFieldBasedFrameDecoder服务端解析
- Regular backup of WordPress website program and database to qiniu cloud
- Dynamic relu: Microsoft's refreshing device may be the best relu improvement | ECCV 2020
猜你喜欢
Array acquaintance
Is parameter passing in go language transfer value or reference?
experiment
Flink系列(0)——准备篇(流处理基础)
我用 Python 找出了删除我微信的所有人并将他们自动化删除了
使用Fastai开发和部署图像分类器应用
Flink series (0) -- Preparation (basic stream processing)
IT industry salary has been far ahead! Ten years later, is the programmer still a high paying profession?
动态规划之子序列问题解题模板
Dynamic relu: Microsoft's refreshing device may be the best relu improvement | ECCV 2020
随机推荐
Swagger介绍和应用
Tencent: Although Ali's Taichung is good, it is not omnipotent!
Awk implements SQL like join operation
Iptables from introduction to mastery
Common memory leakage scenarios in JS
RSA非对称加密算法
总结: 10月海外DeFi新项目,更多资管策略来了!
前后端分离跨域问题解决方案
如何将PyTorch Lightning模型部署到生产中
The minimum insertion times of palindrome
Flink series (0) -- Preparation (basic stream processing)
Learn volatile, you change your mind, I see
git操作与分支管理规范
python开发qt程序读取图片的简单流程
iptables从入门到掌握
Creating a text cloud or label cloud in Python
Array acquaintance
如果把编程语言当武功绝学!C++是九阴真经,那程序员呢?
Looking for better dynamic getter and setter solutions
Problem solving templates for subsequence problems in dynamic programming