View Full Version : MySQL 4.0.15?
UltimeWWW
09-13-2003, 08:04 PM
Any way to update it?
Lot of bugs corrected :)
DirectAdmin Support
09-14-2003, 01:02 AM
Yes,
Download the new rpms from mysql.com, and upgrade using
rpm -Uvh rpmfilename.rpm
I'll change the installer to use the new version.
John
l0rdphi1
09-14-2003, 12:19 PM
Cool! Great. :)
The Prohacker
09-14-2003, 06:15 PM
Maybe make a small upgrade script like:
/usr/local/directadmin/scripts/mysql.sh
And it grabs the latest RPMs and upgrades your install.. Might make it easier for more novice users...
l0rdphi1
09-14-2003, 06:35 PM
Yeah. That would be cool. I doubt it would be more than 4 or 5 lines.
l0rdphi1
09-14-2003, 07:29 PM
Here's my first bash script:
#!/bin/sh
cd $HOME
echo -e "\n\n\033[1;37mUpgrade to what version? (e.g. 4.0.15 )\033[0m"
read INSTALL_VER
echo -e "\n\n\033[1;37mUpgrading to MySQL ${INSTALL_VER}\033[0m\n\n";
wget http://mysql.he.net/Downloads/MySQL-4.0/MySQL-server-${INSTALL_VER}-0.i386.rpm
wget http://mysql.he.net/Downloads/MySQL-4.0/MySQL-client-${INSTALL_VER}-0.i386.rpm
wget http://mysql.he.net/Downloads/MySQL-4.0/MySQL-devel-${INSTALL_VER}-0.i386.rpm
rpm -Uvh ./MySQL-server-${INSTALL_VER}*
rm -fr ./MySQL-server-${INSTALL_VER}*
service mysql restart
echo -e "\n\n\033[1;37mSuccessfully upgraded to MySQL ${INSTALL_VER}\033[0m\n\n";
exit 0;
It works :D
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.