Apples and Oranges: A Linux DBMS Comparison Acquiring and Installing MySQL Matthias Warkus
Wednesday, November 10, 1999 03:04:53 PM
The most recent version of MySQL can be obtained via the MySQL download page. There are numerous mirrors to choose from. You'll need to perform the following steps:
Untar it and change into the source directory tree:
tar -xvzf mysql-3.22.26a.tar.gz
cd mysql-3.22.26a
Configure the package; I used following options:
./configure --prefix=/opt/mysql
Build it:
make
Install it; as root:
make install
You'll then need to configure the installation:
As root, create the grant tables:
scripts/mysql_install_db
As root, start the server:
/opt/mysql/bin/safe_mysqld &
As root, create the mysql user:
useradd -c "MySQL Administrator" -d /opt/mysql -g users mysql
As root, give the installation tree to the mysql user: