PDA

View Full Version : Installing MySQL from RPM's


llbbl
03-29-2005, 06:28 AM
UPDATING TO MYSQL 4.0..(tested on sme 6.0b3)

1. STOP MYSQL

/etc/rc.d/init.d/mysql stop

2. REMOVE OLD RPM

rpm -e --nodeps mysql-client mysql-server
rpm -e mysql-devel
rpm -e mysqlclient9

3. DOWNLOAD MySQL 4.0. FROM WWW.MYSQL.COM

INSTAL NEW RPMS:

rpm -Uhv MySQL-server-4.0.15-0.i386.rpm
rpm -Uhv MySQL-client-4.0.15-0.i386.rpm
rpm -Uhv MySQL-shared-compat-4.0.15-0.i386.rpm
rpm -Uvh MySQL-devel-4.0.15-0.i386.rpm

4. CONFIGURE

chkconfig --levels 2345 mysql on
rm /etc/rc.d/rc7.d/S90mysqld
ln -s /etc/rc.d/init.d/mysql /etc/rc.d/rc7.d/S90mysqld

/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no (enable remote access)
/sbin/e-smith/expand-template /root/.my.cnf
/etc/rc.d/init.d/mysql restart

http://contribs.org/modules/pbboard/viewtopic.php?t=18597

llbbl
03-29-2005, 06:29 AM
also Upgrading MySQL version 3 to 4 RedHat / Fedora

As you know the version of MySQL that is supplied by default with Fedora and the Red Hat Enterprise Linux versions is 3.23-58 whereas the current stable production version is 4.1.7-0. With the prospect that we aren't likely to provided with rpms for this current version from Red Hat for the foreseeable future, how do we upgrade, whilst maintaing the format we are familiar with Fedora/Red Hat.

http://fedoranews.org/contributors/tony_smith/mysql/

llbbl
03-29-2005, 06:36 AM
Here is a good board for RH support.

http://fedoraforum.org/forum/