[\u672c\u8bfe\u7a0b\u7528\u6237\u7684\u63d0\u95ee]<\/span><\/div>\n <\/div>\n \n
make install\u540e\u6ca1\u6709\u751f\u6210DATA\u76ee\u5f55!!<\/h3>\n
# Postinstallation setup
shell> cd \/usr\/local\/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> bin\/mysql_install_db --user=mysql # Before MySQL 5.7.6
shell> bin\/mysqld --initialize --user=mysql # MySQL 5.7.6 and up
shell> bin\/mysql_ssl_rsa_setup # MySQL 5.7.6 and up
shell> chown -R root .
shell> chown -R mysql data
shell> bin\/mysqld_safe --user=mysql &<\/p>
\u6309\u7167\u4ee5\u4e0a\u6b65\u9aa4\u5b89\u88c5\u6ca1\u6709\u624b\u52a8\u66f4\u6539\u9ed8\u8ba4\u914d\u7f6e\u5230\u4e86chown -R mysql data\u5c31\u4e0d\u884c\u4e86\/usr\/local\/mysql \u4e0b\u600e\u4e48\u6ca1\u6709\u751f\u6210data\u76ee\u5f55.\u4e4b\u524d\u7684cmakemake make install\u8fc7\u7a0b\u90fd\u6ca1\u6709\u62a5\u9519.<\/p>
\u9884\u5148\u4e0b\u8f7d\u7684boost.1.59\u8fd9\u6837\u5b89\u88c5\u7684:<\/p>
cmake . -DDOWNLOAD=1 -DWITH_BOOST=....\/boost1.59
<\/p>
<\/p>
<\/p><\/p>\n <\/div>\n