基於mysql-5.5.32的單機多執行個體多設定檔的

來源:互聯網
上載者:User

標籤:設定檔   local   release   linux   單機   

1.安裝環境:[[email protected] ~]#[[email protected] ~]# uname -aLinux localhost.localdomain 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux[[email protected] ~]# [[email protected] ~]# uname -r2.6.32-504.16.2.el6.x86_64[[email protected] ~]# [[email protected] ~]# cat /etc/redhat-release CentOS release 6.6 (Final)[[email protected] ~]# 2.下載相應的cmake,mysql-5.5.32源碼包:[[email protected] ~]# cd /usr/local/src/[[email protected] src]# lltotal 29580-rw-r--r--. 1 root root  5691656 Apr 14 13:42 cmake-2.8.8.tar.gz-rw-r--r--. 1 root root 24596474 Apr 14 13:44 mysql-5.5.32.tar.gz[[email protected] src]# [[email protected] src]# tar -zxvf cmake-2.8.8.tar.gz [[email protected] src]# echo $?0[[email protected] src]# cd cmake-2.8.8[[email protected] cmake-2.8.8]# yum install gcc gcc-c++[[email protected] cmake-2.8.8]# ./configure [[email protected] cmake-2.8.8]# gmake &&gmake install[[email protected] cmake-2.8.8]# cd ..[[email protected] src]# tar -xf mysql-5.5.32.tar.gz [[email protected] src]# [[email protected] src]# cd mysql-5.5.32[[email protected] mysql-5.5.32]# groupadd mysql[[email protected] mysql-5.5.32]# useradd mysql -g mysql -M -s /sbin/nologin [[email protected] mysql-5.5.32]#

本文出自 “MySQL_db” 部落格,請務必保留此出處http://mysqldb.blog.51cto.com/10264653/1655423

基於mysql-5.5.32的單機多執行個體多設定檔的

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.