Results 1 to 4 of 4

Thread: MYSQL - Unable to udate 5.0.51a to 5.1.47

  1. #1
    Join Date
    Nov 2009
    Location
    Southeast Michigan
    Posts
    62

    MYSQL - Unable to udate 5.0.51a to 5.1.47

    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 by jwnetsource; 05-21-2010 at 09:31 AM.
    Jeff Whitman
    JW NetSource, LLC
    17125 Nollar Road, Manchester, MI 48158
    734-428-7770 (office), 734-649-4298 (cell), 734-428-1777 (fax)
    www.JWNetSource.com

    Achieving customer satisfaction by surpassing customer expectations.

  2. #2
    Join Date
    Jan 2008
    Location
    /dev/null
    Posts
    702
    Change the options in options.conf
    #Possible values - 5.0, 5.1
    mysql=5.1
    mysql_inst=yes
    mysql_backup=yes
    Now do
    ./build update
    ./build mysql
    ./build php n
    You're done.

  3. #3
    Join Date
    Nov 2009
    Location
    Southeast Michigan
    Posts
    62
    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 by jwnetsource; 05-22-2010 at 10:50 AM.
    Jeff Whitman
    JW NetSource, LLC
    17125 Nollar Road, Manchester, MI 48158
    734-428-7770 (office), 734-649-4298 (cell), 734-428-1777 (fax)
    www.JWNetSource.com

    Achieving customer satisfaction by surpassing customer expectations.

  4. #4
    Join Date
    Jul 2006
    Location
    isreal
    Posts
    472
    hi,
    type:
    ./build clean
    ./build libpng

Similar Threads

  1. Unable to upgrade mysql to 5.5
    By zurih in forum CustomBuild
    Replies: 7
    Last Post: 12-12-2011, 07:04 AM
  2. unable to install mysql 5 with ./build mysql
    By codeman05 in forum CustomBuild
    Replies: 20
    Last Post: 08-04-2010, 05:59 PM
  3. Replies: 2
    Last Post: 04-15-2008, 10:37 PM
  4. Lost Mysql, unable to fix
    By 993ti in forum MySQL / PHP
    Replies: 7
    Last Post: 12-03-2007, 05:21 PM
  5. Unable to login to MySql
    By nbn in forum MySQL / PHP
    Replies: 7
    Last Post: 02-02-2005, 11:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •