mysql 5.7.14 整合sphinx 2.2.11编译 插件式热安装

    xiaoxiao2022-06-29  38

    1、系统centos 7、mysql5.7.14,sphinx-2.2.11

    下载mysql5.7.14源码:http://cdn.mysql.com/archives/mysql-5.7/mysql-boost-5.7.14.tar.gz

    下载sphinx:http://sphinxsearch.com/

    2、解压mysql源码,将sphinx目录中mysqlse中的所有文件复制到mysql的storage/sphinx(sphinx目录需要自己创建)

    3、编译mysql源码,

    sh BUILD/autorun.sh

    注意:编译mysql5.7.14需要安装cmake,boot_1_59.0,gcc

    yum install boost-devel.x86_64 boost-test.x86_64 boost.x86_64 #安装bootst

    使用./configure 出现

    使用cmake进行配置,

    cmake -DWITH_BOOST=../boost_1_59_0/  #DWITH_BOOST参数:指定boost的目录

    使用make命令编译

    转载请注明原文地址: https://ju.6miu.com/read-1125057.html

    最新回复(0)