MySQL 4.1.12

jmstacey

Verified User
Joined
Feb 12, 2004
Messages
4,106
Location
Colorado
MySQL 4.1.12 has been out now.
This worked for me on Debian, however won't for FreeBSD.

Code:
wget [url]http://www.mark87.com/directadmin/tools/upgrade.mysql.sh[/url]
chmod 755 upgrade.mysql.sh
./upgrade.mysql.sh

You can also find methods of upgrading other Operating systems in the Version updates forum.
 
Last edited:
got this


[root@server root]# wget http://www.mark87.com/directadmin/tools/upgrade.mysql.sh
--08:17:32-- http://www.mark87.com/directadmin/tools/upgrade.mysql.sh
=> `upgrade.mysql.sh'
Resolving www.mark87.com... done.
Connecting to www.mark87.com[66.54.206.17]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,819 [application/x-sh]

100%[====================================>] 1,819 1.73M/s ETA 00:00

08:17:33 (1.73 MB/s) - `upgrade.mysql.sh' saved [1819/1819]

[root@server root]# chmod 755 upgrade.mysql.sh
[root@server root]# ./upgrade.mysql.sh

******************************************************
* MySQL upgrade tool for DirectAdmin servers. *
* Supports: Debian 3.0 *
* *
* Author: Jon Stacey <[email protected]> *
* Modified: April 6, 2005 @ 8:22pm MST *
******************************************************


Upgrade to what version? [4.1.10a]


Upgrading to MySQL 4.1.10a
--08:18:27-- http://mysql.he.net/Downloads/MySQL-4.1/mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz
=> `mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz'
Resolving mysql.he.net... done.
Connecting to mysql.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.he.net/cgi-bin/error404 [following]
--08:18:27-- http://mirrors.he.net/cgi-bin/error404
=> `error404'
Resolving mirrors.he.net... done.
Connecting to mirrors.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

[ <=> ] 734 716.80K/s

08:18:27 (716.80 KB/s) - `error404' saved [734]

!!! Cannot find new MySQL Package. Aborting !!!
[root@server root]#
 
Upgrade to what version? [4.1.10a]


Upgrading to MySQL 4.1.10a
--11:27:42-- http://mysql.he.net/Downloads/MySQL-4.1/mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz
=> `mysql-standard-4.1.10a-pc-linux-gnu-i686.tar.gz'
Resolving mysql.he.net... done.
Connecting to mysql.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirrors.he.net/cgi-bin/error404 [following]
--11:27:42-- http://mirrors.he.net/cgi-bin/error404
=> `error404.1'
Resolving mirrors.he.net... done.
Connecting to mirrors.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

[ <=> ] 734 716.80K/s

11:27:42 (716.80 KB/s) - `error404.1' saved [734]

!!! Cannot find new MySQL Package. Aborting !!!
[root@multihost root]#
 
4.1.10a is no longer on that mirror. Currently on 4.1.11 and 4.1.12 which was released recently.
When the script asks what version to upgrade to be sure to input one of the above versions.
 
Upgrade to what version? [4.1.10a]
4.1.12

Upgrading to MySQL 4.1.12
--09:46:58-- http://mysql.he.net/Downloads/MySQL-4.1/mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz
=> `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz'
Resolving mysql.he.net... done.
Connecting to mysql.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30,746,577 [application/x-tar]

100%[====================================>] 30,746,577 10.18M/s ETA 00:00

09:47:01 (10.18 MB/s) - `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz' saved [30746577/30746577]

rm: cannot lstat `/usr/local/mysql': No such file or directory
Killing mysqld with pid 8148
Giving MySQL 5 seconds to shutdown before restarting


Assuming upgrade was successfully to MySQL 4.1.12 :-|
[root@server root]#

but still says i'm using 4.0.17
 
Upgrading to MySQL 4.1.12
--11:57:15-- http://mysql.he.net/Downloads/MySQL-4.1/mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz
=> `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz'
Resolving mysql.he.net... done.
Connecting to mysql.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30,746,577 [application/x-tar]

100%[====================================>] 30,746,577 1.07M/s ETA 00:00

11:57:42 (1.07 MB/s) - `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz' saved [30746577/30746577]

rm: cannot lstat `/usr/local/mysql': No such file or directory
Killing mysqld with pid 1255
Wait for mysqld to exit.. done
Giving MySQL 5 seconds to shutdown before restarting


Assuming upgrade was successfully to MySQL 4.1.12 :-|


In DirectAdmin: MySQL 4.0.23
 
1. You are using Debian?
2. When you originally installed DirectAdmin, was it before or after this version?http://www.directadmin.com/features.php?id=477
If it was before you must manually convert over to the new installation method for this script to work which uses precompiled binaries from MySQL while DirectAdmin before that version used Debian packages.
 
Sorry! I have Redhat Enterprise 3.0

Sorry!

Such program is under Redhat Enterprise 3.0 ?
 
Upgrade to what version? [4.1.10a]
4.1.12

Upgrading to MySQL 4.1.12
--12:15:41-- http://mysql.he.net/Downloads/MySQL-4.1/mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz
=> `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz'
Resolving mysql.he.net... done.
Connecting to mysql.he.net[64.71.164.2]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30,746,577 [application/x-tar]

100%[====================================>] 30,746,577 1.04M/s ETA 00:00

12:16:09 (1.04 MB/s) - `mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz' saved [30746577/30746577]

Killing mysqld with pid 9489
Wait for mysqld to exit.... done
Giving MySQL 5 seconds to shutdown before restarting


Assuming upgrade was successfully to MySQL 4.1.12 :-|
DirectAdmin: MySQL 4.0.23

Why??

P.S
http://www.l0rdphi1.com/tools/update.phpmyadmin.sh - It's for RH3? :):rolleyes:
 
jmstacey said:
1. You are using Debian?
2. When you originally installed DirectAdmin, was it before or after this version?http://www.directadmin.com/features.php?id=477
If it was before you must manually convert over to the new installation method for this script to work which uses precompiled binaries from MySQL while DirectAdmin before that version used Debian packages.


maybe i should leave it alone
 
ServerTweak,
If you installed DirectAdmin before that version, you will eventually have to convert over to the new system in order to easily update MySQL, otherwise you will have to depend on DirectAdmin releasing updated packages (which they most likely will not do since new installations use the precompiled binares from the MySQL website).
Find a compatible package in the Debian package lists or build your own from source, which would probably be harder than just downloading the precompiled binaries.

I would be willing to take a look if you'd like, just send me a PM.

NetJaro,
That script was written for RedHat and awhile ago at that. You may need to update manually without an automated script.
 
Also a few people here trying to upgrade from 4.0.x to 4.1.x they are different releases and you might have problems if not preparing for the changes.
 
I can most certainly take a look. PM me ssh login details to access the server so I can investigate the setup and see about it.
 
can't get this verson working on centos when i installed it eveything lost access to mysql databases

had to remove it and go back to 4.1.11 :confused:

any ideas?
 
Back
Top