• MIC简单安装


    mysql80-community-release-el7-1.noarch包

    [root@localhost /]# yum install mysql80-community-release-el7-1.noarch.rpm

    [root@localhost ~]# yum install -y mysql-router

    [root@localhost ~]# yum install -y mysql-community-server

    [root@localhost ~]# yum install -y mysql-shell

    [root@localhost ~]# mysqlsh #进入mysqlshell#

    MySQL JS > ? dba

    MySQL JS > dba.deploySandboxInstance(3310)

    MySQL JS > dba.deploySandboxInstance(3320)

    MySQL JS > dba.deploySandboxInstance(3330)

    MySQL JS > connect root@localhost:3310

    MySQL localhost:3310 ssl JS > var cluster=dba.createCluster('test')

    MySQL localhost:3310 ssl JS > cluster.addInstance('root@localhost:3320')

    MySQL localhost:3310 ssl JS > cluster.addInstance('root@localhost:3330')

    [root@localhost sandboxdata]# mysqlrouter & #初始化router#

    [root@localhost sandboxdata]# mysql -uroot -h 192.168.214.146 -P 6446 -pmysql

  • 相关阅读:
    VMware安装Centos7过程记载
    php服务器设置指示
    php变化变量
    php参数
    php变量类型
    php外界PHP变量
    php语句的脱离方法
    PHP算术操作符
    PHP通过调用传递(Passingbyreference)
    php初始化数组
  • 原文地址:https://www.cnblogs.com/Knight7971/p/9548365.html
Copyright © 2020-2023  润新知