I hope this helps anyone. It did me (finally)
download from linuxpackages.net
=============
install
============
Code:
installpkg mysql-4.1.11-i486-2mjg.tgz
create a group called mysql
============
create user mysql (if you don't have him.. to see if you do, type su - mysql. If it says "Unknown id: mysql" then you don't have that user.
============
Code:
useradd -g mysql mysql
give user mysql access
============
Code:
chown -R mysql.mysql /var/lib/mysql
install a database from user mysql
============
Code:
su - mysql
mysql_installdb
exit
create a my.cnf file
============
Code:
cp /etc/my-medium.cnf /etc/my.cnf
keep the socket in /var/run/mysql/, its more secure than /tmp.
don't modify anything else
start mysql
============
Code:
chmod +x /etc/rc.d/rc.mysqld
su - mysql
/etc/rc.d/rc.mysqld start
exit
set a password for mysql root user
============
Code:
/usr/bin/mysqladmin -u root password 'new-password'
From this point onwards, i prefer to use mysqlcc to set mysql up..
download it from
http://dev.mysql.com/downloads/other/mysqlcc.html
unpack it
============
Code:
tar xvfz mysqlcc-0.9.4-linux-glibc23tar.gz
run it
============
Code:
cd mysqlcc-0.9.4-linux-glib23/
./mysqlcc
file > new
name: mylocalmysql
hostname: localhost
user: root
password: **********
socket file: /var/run/mysql/mysql.sock
click on test, it should be successful