32.5.5 启动Mycat
(1)在binghe153服务器命令行输入如下命令启动Mycat服务。
[root@binghe153 ~]# mycat start
Starting Mycat-server...
(2)查看Mycat是否启动成功。
[root@binghe153 ~]# mycat status
Mycat-server is running (3964).
结果显示,Mycat服务器已经启动成功。
(3)连接Mycat命令行。
[root@binghe153 ~]# mysql -h192.168.175.153 -P3307 -umycat -pmycat --default-auth=mysql_native_
password
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.29-mycat-1.6.7.4-release-20200105164103 MyCat Server (OpenCloudDB)
###########################省略部分输出结果##########################
mysql>
mysq