Loading

Installing MySQL On the Linkstation

Installing MySQL 4.1.22

cd /mnt/hda/misc
wget http://ftp.up.ac.za/pub/windows/MySQL/Downloads/MySQL-4.1/mysql-4.1.22.tar.gz
tar -zxvf mysql-4.1.22.tar.gz
cd mysql-4.1.22
groupadd mysql
useradd -g mysql mysql
export CFLAGS=-O3
export CXXFLAGS=-O3
./configure –prefix=/mnt/hda/opt/mysql –with-readline –without-debug
make
make install

Then install the Dev tools

cd /mnt/hda/misc
wget http://momonga.nahi.to/pub/mips/mipsel/MySQL-devel-4.0.25-1m.mipsel.rpm
rpm2cpio MySQL-devel-4.0.25-1m.mipsel.rpm | cpio -di
cp -r usr/* /usr

SQL Done

Leave a Reply

Your email address will not be published. Required fields are marked *