mariadb

tnd,装个mariadb这么费劲,我是喜欢看着编译刷刷刷的跑的,所以这次也不例外,但是会出种种问题。

 sudo apt-get install libwrap0-dev
cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/mariadb -DWITH_LIBWRAP:BOOL=ON -DMYSQL_DATADIR:PATH=/usr/local/mariadb/data
sudo scripts/mysql_install_db  --user=mysql --basedir=.
sudo bin/mysqld_safe --user=mysql --lc-messages-dir=/usr/local/mariadb/share/english

 

galera

sudo apt-get install scons
sudo apt-get install libboost-program-options-dev
sudo apt-get install check

bin/mysql_upgrade  -uroot -p123456

 

posted @ 2014-05-07 14:46  jvava  阅读(251)  评论(2编辑  收藏  举报