最新回答 / Crazyhat
我也在这个课程的安装mysql卡了好久,依赖boost,结果yum安装boost后又提示依赖版本高于安装版本,于是安装失败,只得下载boost源码包安装,然后boost痛苦的依赖开始了,一直无果。
2018-08-06
-DMYSQL_UNIX_ADDR=/var/run/mysql/mysql.sock\
-DMYSQL_TCP_PORT=3306\
-DENABLED_LOCAL_INFILE=1\-DWITH_PARTITION_STORAGE_ENGINE=1\-DEXTRA_CHARSETS=all\-DDEFAULT_CHARSET=utf8\-DDEFAULT_COLLATION=utf8_general_ci\-DWITH_DEBUG=0\-DMYSQL_MAINTAINER_MODE=0\-DWITH_SSL:STRING=bumdled\-DWITH_ZLIB:STRING=bundled
-DMYSQL_TCP_PORT=3306\
-DENABLED_LOCAL_INFILE=1\-DWITH_PARTITION_STORAGE_ENGINE=1\-DEXTRA_CHARSETS=all\-DDEFAULT_CHARSET=utf8\-DDEFAULT_COLLATION=utf8_general_ci\-DWITH_DEBUG=0\-DMYSQL_MAINTAINER_MODE=0\-DWITH_SSL:STRING=bumdled\-DWITH_ZLIB:STRING=bundled
2018-07-30
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql57 \
-DMYSQL_DATADIR=/data/mysql/data \
-DSYSCONFDIR=/etc \
-DMYSQL_USER=mysql \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql57 \
-DMYSQL_DATADIR=/data/mysql/data \
-DSYSCONFDIR=/etc \
-DMYSQL_USER=mysql \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_MEMORY_STORAGE_ENGINE=1 \
-DWITH_READLINE=1 \
2018-07-30