Percona-Server-5.6.25-73.1二進制rpm包安裝

  1. 下載:
    wget https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.25-73.1/binary/redhat/6/x86_64/Percona-Server-5.6.25-73.1-r07b797f-el6-x86_64-bundle.tar
    tar zxvf Percona-Server-5.6.25-73.1-r07b797f-el6-x86_64-bundle.tar

    2.依次序安裝三個文件
    (前後順序爲shared/client/server,次序不能顛倒,不然不能正常安裝)
    rpm -ivh Percona-Server-shared-56-5.6.25-rel73.1.el6.x86_64.rpm
    rpm -ivh Percona-Server-client-56-5.6.25-rel73.1.el6.x86_64.rpm
    rpm -ivh Percona-Server-server-56-5.6.25-rel73.1.el6.x86_64.rpm

    3.啓動/etc/init.d/mysql startmysql


    4.查看啓動端口是否在監聽:sql

     netstat -nat |grep 3306dom


    5.查看進程.net

    [root@localhost usr]# ps -ef|grep mysql
    root      1700     1  0 11:03 pts/0    00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/localhost.localdomain.pid
    mysql     1791  1700  0 11:03 pts/0    00:00:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/localhost.localdomain.err --pid-file=/var/lib/mysql/localhost.localdomain.pidserver

相關文章
相關標籤/搜索