MySQL 4.0.15?

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
 
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...
 
Yeah. That would be cool. I doubt it would be more than 4 or 5 lines.
 
Here's my first bash script:
Code:
#!/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 [url]http://mysql.he.net/Downloads/MySQL-4.0/MySQL-server-[/url]${INSTALL_VER}-0.i386.rpm
wget [url]http://mysql.he.net/Downloads/MySQL-4.0/MySQL-client-[/url]${INSTALL_VER}-0.i386.rpm
wget [url]http://mysql.he.net/Downloads/MySQL-4.0/MySQL-devel-[/url]${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
 
Last edited:
Back
Top