ผมใช้ Centos 5.1 mysql 5.1.30 ครับ
ผมติดตั้ง ตามนี้ครับ
useradd mysql
service mysql stop
export TMP=/tmp
export TMPDIR=/tmp
rm -fr /var/lib/mysql
rm -f /etc/init.d/mysql*
rpm -ivh MySQL-shared-5.1.22-0.glibc23.i386.rpm --nodeps --force
rpm -ivh MySQL-client-5.1.22-0.glibc23.i386.rpm --nodeps --force
rpm -ivh MySQL-server-5.1.22-0.glibc23.i386.rpm --nodeps --force
แบบ i386
ลง ใหม่ทั้ง centos กับ mysql
useradd mysql
service mysql stop
export TMP=/tmp
export TMPDIR=/tmp
rm -fr /var/lib/mysql
rm -f /etc/init.d/mysql*
rpm -ivh MySQL-shared-5.1.30-0.glibc23.i386.rpm --nodeps --force
rpm -ivh MySQL-client-5.1.30-0.glibc23.i386.rpm --nodeps --force
rpm -ivh MySQL-server-5.1.30-0.glibc23.i386.rpm --nodeps --force
ลง centos แล้วจะอัพ mysql
useradd mysql
service mysql stop
export TMP=/tmp
export TMPDIR=/tmp
rm -fr /var/lib/mysql
rm -f /etc/init.d/mysql*
rpm -Uvh MySQL-shared-5.1.30-0.glibc23.i386.rpm --nodeps --force
rpm -Uvh MySQL-client-5.1.30-0.glibc23.i386.rpm --nodeps --force
rpm -Uvh MySQL-server-5.1.30-0.glibc23.i386.rpm --nodeps --force