![]() | Note |
|---|---|
You may skip this section and use the MySQL package that comes with your distribution. If you choose to install MySQL by hand, you need root privileges. |
Build instructions :
su -groupadd mysqluseradd -g mysql mysqlmkdir ~/pydadl_installcd ~/pydadl_installwget http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.0/mysql-5.0.51a-linux-i686-glibc23.tar.gztar xzvf mysql-5.0.51a-linux-i686-glibc23.tar.gzcd mysql-5.0.51a-linux-i686-glibc23scripts/mysql_install_db --user=mysqlchown -R root .chown -R mysql datachgrp -R mysql .mv -vf bin/* /usr/local/pydadl/binmv -vf include/* /usr/local/pydadl/includemv -vf lib/* /usr/local/pydadl/libmv -vf share/* /usr/local/pydadl/sharerm -rf bin include lib sharemv -vf * /usr/local/pydadlcd /usr/local/pydadlrm -rf ~/pydadl_install./bin/mysqld_safe --user=mysql &exit
You can add the following two lines to your init scripts so the MySQL server starts automatically at boot :
cd /usr/local/pydadl./bin/mysqld_safe --user=mysql &