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