在Ubuntu Server下的安装步骤如下:
apt-get -y install gcc g++ chkconfig
apt-get -y install libncurses5-dev
apt-get -y install cmake
cmake .
make
make install
cd support-files
cp my-medium.cnf /etc/my.cnf
groupadd mysql
useradd -g mysql mysql
cd /usr/local/mysql
chown -R mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
bin/mysqld_safe --user=mysql &
bin/mysqladmin -u root password 'newpassword';