预览加载中,请您耐心等待几秒...
1/5
2/5
3/5
4/5
5/5

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Linuxmysql5.7.13安装教程 Linuxmysql5.7.13安装教程本文实例为大家分享了Linuxmysql5.7.13安装教程,供大家参考,具体内容如下1、准备cmake-3.6.0.tar.gzbison-3.0.4.tar.gzmysql-5.7.13.tar.gz(http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.13.tar.gz)2、安装cmake和bison首先可以查看下是否安装了cmake#rpm-qa|grepcmake#tarzxvfcmake-3.6.0.tar.gz#cdcmake-3.6.0#./bootstrap#make&&makeinstall#tarzxvfbison-3.0.4.tar.gz#cdbison-3.0.4#./configure#make&&makeinstall3、安装Mysql[root@localhostsrc]#tar-zxvfmysql-5.7.13.tar.gz[root@localhostsrc]#cdmysql-5.7.13[root@localhostmysql-5.7.13]#cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock-DDEFAULT_CHARSET=gbk-DDEFAULT_COLLATION=gbk_chinese_ci-DWITH_INNOBASE_STORAGE_ENGINE=1-DWITH_ARCHIVE_STORAGE_ENGINE=1-DWITH_BLACKHOLE_STORAGE_ENGINE=1-DMYSQL_DATADIR=/data/mysqldb-DMYSQL_TCP_PORT=3306-DENABLE_DOWNLOADS=1...CMakeErroratcmake/boost.cmake:81(MESSAGE):Youcandownloaditwith-DDOWNLOAD_BOOST=1-DWITH_BOOST=ThisCMakescriptwilllookforboostin.Ifitisnotthere,itwilldownloadandunpackit(inthatdirectory)foryou.Ifyouareinsideafirewall,youmayneedtouseanhttpproxy:exporthttp_proxy=http://example.com:80CallStack(mostrecentcallfirst):cmake/boost.cmake:238(COULD_NOT_FIND_BOOST)CMakeLists.txt:451(INCLUDE)--Configuringincomplete,errorsoccurred!注:重新运行配置,需要删除CMakeCache.txt文件解决:(1)在预编译时添加相应的选项:cmake-DDOWNLOAD_BOOST=1-DWITH_BOOST=/usr/local/boost(2)或者下载一个boost包,放到/usr/local/boost目录下,然后在cmake后面加选项-DWITH_BOOST=/usr/local/boost[root@localhostmysql-5.7.13]#cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock-DDEFAULT_CHARSET=gbk-DDEFAULT_COLLATION=gbk_chinese_ci-DWITH_INNOBASE_STORAGE_ENGINE=1-DWITH_ARCHIVE_STORAGE_ENGINE=1-DWITH_BLACKHOLE_STORAGE_ENGINE=1-DMYSQL_DATADIR=/data/mysqldb-DMYSQL_TCP_PORT=3306-DENABLE_DOWNLOADS=1-DDOWNLOAD_BOOST=1-DWITH_BOOST=/usr/local/boost....CMakeErroratcmake/readline.cmake:64(MESSAGE):Curseslibrarynotfound.Pleaseinstallappropriatepackage,removeCMakeCache.txtandreruncmake.OnDebian/Ubuntu,packagenameisl