标签:enable 1.3 led utf8 code art htm http strong
1. mysql 编译安装
引用: https://www.cnblogs.com/youn/p/5264282.html
引用: https://www.jianshu.com/p/4416792750c7
1.1 mysql source code 下载地址
引用: https://dev.mysql.com/downloads/mysql/
1.2 需要环境
yum install gcc gcc-c++ ncurses ncurses-devel bison libgcrypt perl make cmake
Tip: 可能不全
1.3 编译安装命令
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DSYSCONFDIR=/usr/local/mysql \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DMYSQL_TCP_PORT=3306 \
-DEXTRA_CHARSETS=all \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
-DWITH_READLINE=1 \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DDOWNLOAD_BOOST=1 \
-DWITH_BOOST=/usr/local/boost
Tip: 最后两个是安装 boost
2. boost
引用: https://blog.csdn.net/caimouse/article/details/73123178
引用: https://blog.csdn.net/twangjie/article/details/66083292
3. 管道命令
引用: https://www.cnblogs.com/luntai/p/6232824.html
标签:enable 1.3 led utf8 code art htm http strong
原文地址:https://www.cnblogs.com/loseself/p/9608947.html