欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

CentOS下怎么安裝MySQL5.1

本篇內(nèi)容介紹了“CentOS下怎么安裝MySQL5.1”的有關(guān)知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細閱讀,能夠?qū)W有所成!

成都創(chuàng)新互聯(lián)專業(yè)為企業(yè)提供朝陽網(wǎng)站建設(shè)、朝陽做網(wǎng)站、朝陽網(wǎng)站設(shè)計、朝陽網(wǎng)站制作等企業(yè)網(wǎng)站建設(shè)、網(wǎng)頁設(shè)計與制作、朝陽企業(yè)網(wǎng)站模板建站服務(wù),十余年朝陽做網(wǎng)站經(jīng)驗,不只是建網(wǎng)站,更提供有價值的思路和整體網(wǎng)絡(luò)服務(wù)。

 
01
1.包
02
 wget http://mysql.llarian.net/Downloads/MySQL-5.1/mysql-5.1.63.tar.gz
03
2.解壓
04
 tar zvxf ./mysql-5.1.63.tar.gz
05
3.配置configure
06
   ./configure --prefix=/usr/local/mysql   
07  www.2cto.com  
    --with-charset=utf8   
08
    --with-extra-charsets=all   
09
    --with-tcp-port=3306   
10
    --with-unix-socket-path=/tmp/mysql.sock   
11
    --with-mysqld-user=mysqld  
12
    --with-federated-storage-engine   
13
    --with-mysqld-user=mysqld  
14
    --with-plugins=innobase,myisam   
15
    --enable-assembler   
16
    --without-isam   
17
    --with-client-ldflags=-all-static
18
 
19
  {
20
     出現(xiàn)checking for termcap functions library... configure: error: No            curses/termcap library found
21
     curses/termcap 庫沒有安裝
22
     下載wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz
23
     解壓 tar zxvf ncurses-5.9.tar.gz
24
     進入目錄 sudo ./configure --prefix=/usr --with-shared --without-debug
25
     編譯,安裝 make , make install 
26  www.2cto.com  
   }   
27
4.編譯,安裝
28
  make
29
  make install
30
5.創(chuàng)建用戶和組.配置
31
  groupadd mysql
32
  useradd -g mysql mysql
33
  cp support-files/my-media.cnf /etc/my.cnf
34
  mkdir /usr/local/mysql/var
35
 
36
  修改MySQL 數(shù)據(jù)目錄的 ownership
37
  chown -R mysql /usr/local/mysql /usr/lib/mysql /usr/share/mysql
38
  chgrp -R mysql /usr/local/mysql /usr/lib/mysql /usr/share/mysql
39
    www.2cto.com  
40
6.安裝,啟動,進入.
41
  /usr/local//bin/mysql_install_db
42
  /user/local/mysql/bin/mysqld_safe
43
  /user/local/mysql/bin/mysql -u root
44
7.添加啟動項
45
  mv /usr/local/mysqlshare/mysql/mysql.server /etc/init.d/mysql
46
  chmod 775 /etc/init.d/mysql
47
  chkconfig --add mysql

“CentOS下怎么安裝MySQL5.1”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實用文章!

當(dāng)前標(biāo)題:CentOS下怎么安裝MySQL5.1
文章網(wǎng)址:http://chinadenli.net/article46/gicihg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制網(wǎng)站、網(wǎng)站維護網(wǎng)站設(shè)計公司、網(wǎng)站營銷、電子商務(wù)網(wǎng)站設(shè)計

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都app開發(fā)公司