CentOS下的MySQL5.1安装_MySQL
时间:2021-07-01 10:21:17
帮助过:5人阅读
CentOS
bitsCN.com
CentOS下的MySQL 5.1安装 011.下载源码包02 wget http://mysql.llarian.net/Downloads/MySQL-5.1/mysql-5.1.63.tar.gz032.解压04 tar zvxf ./mysql-5.1.63.tar.gz053.配置configure06 ./configure --prefix=/usr/local/mysql 07 --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-static18 19 {20 出现checking for termcap functions library... configure: error: No curses/termcap library found21 curses/termcap 库没有安装22 下载wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz23 解压 tar zxvf ncurses-5.9.tar.gz24 进入目录 sudo ./configure --prefix=/usr --with-shared --without-debug25 编译,安装 make , make install 26 } 274.编译,安