管理mycat命令详解
发布时间:2020-12-16 23:38:20 所属栏目:百科 来源:网络整理
导读:mycat监听两个端口,分别为8066和9066;mycat服务默认的数据端口是8066,而9066端口则是mycat管理端口,用于管理mycat的整个集群状态。监听的端口可以在server.xml配置文件中修改。 连接管理端口的方法和连接8066端口的方法基本一样。 [ [email?protected] c
mycat监听两个端口,分别为8066和9066;mycat服务默认的数据端口是8066,而9066端口则是mycat管理端口,用于管理mycat的整个集群状态。监听的端口可以在server.xml配置文件中修改。 连接管理端口的方法和连接8066端口的方法基本一样。 [[email?protected] conf]# mysql -uroot -P9066 -h127.0.0.1 -p123456 #大写的P指定管理端口 Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 19 Server version: 5.6.29-mycat-1.6-RELEASE-20161028204710 MyCat Server (monitor) Copyright (c) 2000,2018,Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type ‘help;‘ or ‘h‘ for help. Type ‘c‘ to clear the current input statement. mysql> show @@help; #查看使用的命令 下面来介绍管理端口中使用的命令:
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |