Day15.Mycat分库分表

Mycat 分库分表
IP规划
client 192.168.4.254
Mycat 192.168.4.56
c1 192.168.4.55
c2 192.168.4.54

[root@56 ~]# tar -xf Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz
[root@56 ~]# ll
总用量 985192
-rw——-. 1 root root 1838 1月 30 2018 anaconda-ks.cfg
-rw-r–r–. 1 root root 169714648 9月 17 17:10 databases2.sql
-rw-r–r–. 1 root root 1931 1月 30 2018 initial-setup-ks.cfg
drwxr-xr-x. 5 root root 4096 9月 17 16:46 lnmp_soft
-rw-r–r–. 1 root root 63305912 9月 17 16:43 lnmp_soft.tar.gz
drwxr-xr-x. 7 root root 85 9月 21 10:15 mycat
-rw-r–r–. 1 root root 15662280 9月 21 10:11 Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz
drwxr-xr-x. 6 root root 68 5月 22 11:02 soft
-rw-r–r–. 1 root root 760133526 9月 13 09:36 soft.zip
drwxr-xr-x. 2 root root 6 1月 30 2018 公共
drwxr-xr-x. 2 root root 6 1月 30 2018 模板
drwxr-xr-x. 2 root root 6 1月 30 2018 视频
drwxr-xr-x. 2 root root 6 1月 30 2018 图片
drwxr-xr-x. 2 root root 6 1月 30 2018 文档
drwxr-xr-x. 2 root root 6 1月 30 2018 下载
drwxr-xr-x. 2 root root 6 1月 30 2018 音乐
drwxr-xr-x. 2 root root 6 1月 30 2018 桌面
[root@56 ~]#
[root@56 ~]#
[root@56 ~]# mv mycat/ /usr/local/
[root@56 ~]# ll /usr/local/mycat/
总用量 12
drwxr-xr-x. 2 root root 190 9月 21 10:15 bin
drwxrwxrwx. 2 root root 6 3月 1 2016 catlet
drwxrwxrwx. 4 root root 4096 9月 21 10:15 conf
drwxr-xr-x. 2 root root 4096 9月 21 10:15 lib
drwxrwxrwx. 2 root root 6 10月 28 2016 logs
-rwxrwxrwx. 1 root root 217 10月 28 2016 version.txt

此条目发表在mysql分类目录,贴了标签。将固定链接加入收藏夹。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注