当前位置:网站首页>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
边栏推荐
- net.sf.json.JSONObject对时间戳的格式化处理
- 寻找性能更优秀的不可变小字典
- RSA asymmetric encryption algorithm
- AI perfume is coming. Will you buy it?
- If the programming language as martial arts unique! C++ is Jiu Yin Jing. What about programmers?
- When to write disk IO after one byte of write file
- Flink series (0) -- Preparation (basic stream processing)
- 【Elasticsearch 技术分享】—— 十张图带大家看懂 ES 原理 !明白为什么说:ES 是准实时的!
- Implementation of warehouse management system with ABP (net core) + easyUI + efcore
- What is forsage Ethereum smart contract? What is the global decline of Ethereum
猜你喜欢
【云服务】阿里云服务器ECS实例规格那么多,如何选型?最佳实践说明
[elastic search technology sharing] - ten pictures to show you the principle of ES! Understand why to say: ES is quasi real time!
寻找性能更优秀的动态 Getter 和 Setter 方案
Introduction to latex
An online accident caused by improper use of thread pool
Chapter 2 programming exercises
Express框架
Flink系列(0)——准备篇(流处理基础)
experiment
Regular backup of WordPress website program and database to qiniu cloud
随机推荐
C/C++知识分享: 函数指针与指针函数,看完这篇你还能不懂?
如果把编程语言当武功绝学!C++是九阴真经,那程序员呢?
PAT_ Grade A_ 1056 Mice and Rice
opencv 解决ippicv下载失败问题ippicv_2019_lnx_intel64_general_20180723.tgz离线下载
Flink series (0) -- Preparation (basic stream processing)
net.sf.json.JSONObject对时间戳的格式化处理
Opencv solves the problem of ippicv download failure_ 2019_ lnx_ intel64_ general_ 20180723.tgz offline Download
Introduction to latex
Dynamic query processing method of stored procedure
Python 列表的11个重要操作
latex入门
给大家介绍下,这是我的流程图软件 —— draw.io
[elastic search technology sharing] - ten pictures to show you the principle of ES! Understand why to say: ES is quasi real time!
动态规划设计:最大子数组
An online accident caused by improper use of thread pool
第二章编程练习
Dynamic ReLU:微软推出提点神器,可能是最好的ReLU改进 | ECCV 2020
To introduce to you, this is my flow chart software—— draw.io
RSA非对称加密算法
SQL quick query