MYSQL - Unable to udate 5.0.51a to 5.1.47

jwnetsource

Verified User
Joined
Nov 12, 2009
Messages
62
Location
Southeast Michigan
I followed the instructions at:

http://help.directadmin.com/item.php?id=106

Appeared to work fine..... But, no worky.

# /usr/local
[snip]
drwxr-xr-x 13 root mysql 512 May 21 16:04 mysql
drwxr-xr-x 13 7155 10 512 May 6 18:21 mysql-5.1.47-freebsd7.0-i386
-rw-r--r-- 1 root wheel 156544039 May 6 18:25 mysql-5.1.47-freebsd7.0-i386.tar.gz


# /usr/local/mysql
[snip]
lrwxr-xr-x 1 root mysql 11 May 21 16:04 data -> /home/mysql
lrwxr-xr-x 1 root mysql 20 May 21 15:20 mysql -> /usr/local/bin/mysql
lrwxr-xr-x 1 root mysql 28 May 21 16:03 mysql-5.1.47-freebsd7.0-i386 -> mysql-5.1.47-freebsd7.0-i386



# killall -9 mysqld

# killall -9 mysqld_safe
No matching processes were found

# /usr/local/etc/rc.d/mysqld start
Starting mysqld: [ OK ]


mysql> status
--------------
mysql Ver 14.14 Distrib 5.5.4-m3, for portbld-freebsd7.2 (i386) using 5.2

Connection id: 2
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: more
Using outfile: ''
Using delimiter: ;
Server version: 5.0.51a Source distribution
Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
UNIX socket: /tmp/mysql.sock
Uptime: 18 sec
 
Last edited:

jwnetsource

Verified User
Joined
Nov 12, 2009
Messages
62
Location
Southeast Michigan
followed daveyw's instructions and got an error.

/usr/local/directadmin/custombuild/php-5.2.13/ext/gd/libgd/gd_png.c:142: undefined reference to `png_check_sig'
*** Error code 1
1 error
#



mysql> status;
--------------
[snip]
Server version: 5.0.51a Source distribution

Prior to doing daveys's steps I had run the following commands on my FreeBSD install.

# Updating the source trees from the master cvs repository
/usr/local/bin/cvsup -g -L 2 /root/config/cvsup/GX1-cvs-supfile

# Generating the ports database from the ports index file
/usr/local/sbin/portsdb -Fu

# Checking installed packages for known vulnerabilities
/usr/local/sbin/portaudit -Fda

#Upgrading installed ports
/usr/local/sbin/portupgrade -arRf

#Cleaning out the crap that is no longer required
/usr/local/sbin/portsclean -CDLP

Then installed php5-gd

cd /usr/ports/graphics/php5-gd
&& make install clean
 
Last edited:
Top