upgrading mysql from 3.23.58 to 4.xx

Discussion in 'Installation/Configuration' started by sushestvo, Dec 9, 2005.

  1. sushestvo

    sushestvo Member

    How can I upgrade mysql on my server from 3.23.58 to latest 4.xx version?
    will I loose data or functionality?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which linux distribution do you use?
     
  3. sushestvo

    sushestvo Member

    fedora core 3
    i have apt installed
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you checked if there is an mysql 4 package available?

    Run:

    apt-get update
    apt-cache search mysql

    and search in the output for a mysql 4 package. If there is one, i recommend to make a abckup from your mysql databases (/var/lib/mysql) install the mysql 4 package with apt.
     
  5. sushestvo

    sushestvo Member

    how do i install mysql 4.1 with apt and all the dependencies? like client, dev and etc.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the package names with mysql and 4 in the name that you got after you run the commands above.
     
  7. sushestvo

    sushestvo Member

    [root@local ~]# apt-get update
    Ïîëó÷åíî: 1 http://ayo.freshrpms.net fedora/linux/3/i386 release [2136B]
    Ïîëó÷åíî: 2 http://ayo.freshrpms.net fedora/linux/1/i386 release [1807B]
    Ïîëó÷åíî 3943B çà 0s (5056B/s).
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/core pkglist
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/core release
    Ïîëó÷åíî: 1 http://ayo.freshrpms.net fedora/linux/3/i386/updates pkglist [1187kB]
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/updates release
    Ïîëó÷åíî: 2 http://ayo.freshrpms.net fedora/linux/3/i386/freshrpms pkglist [242kB]
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/freshrpms release
    Ïîëó÷åíî: 3 http://ayo.freshrpms.net fedora/linux/3/i386/tupdates pkglist [75,1kB]
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/tupdates release
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/3/i386/core srclist
    Ïîëó÷åíî: 4 http://ayo.freshrpms.net fedora/linux/3/i386/updates srclist [76,9kB]
    Ïîëó÷åíî: 5 http://ayo.freshrpms.net fedora/linux/3/i386/freshrpms srclist [44,9kB]
    Ïîëó÷åíî: 6 http://ayo.freshrpms.net fedora/linux/3/i386/tupdates srclist [5332B]
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/core pkglist
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/core release
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/updates pkglist
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/updates release
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms pkglist
    Íàéäåíî http://ayo.freshrpms.net fedora/linux/1/i386/freshrpms release
    Ïîëó÷åíî 1631kB çà 5s (281kB/s).
    [root@local ~]# apt-cache search mysql
    MySQL-python - An interface to MySQL
    libdbi-dbd-mysql - MySQL plugin for libdbi
    mod_auth_mysql - Basic authentication for the Apache web server using a MySQL database.
    perl-DBD-MySQL - A MySQL interface for perl
    tora - A GUI-based database development program.
    unixODBC - A complete ODBC driver manager for Linux.
    MyODBC - ODBC driver for MySQL
    freeradius-mysql - MySQL bindings for freeradius
    gda-mysql - GDA MySQL Provider
    koffice - A set of office applications for KDE.
    mysql - MySQL client programs and shared libraries.
    mysql-bench - MySQL benchmark scripts and data.
    mysql-devel - Files for development of MySQL applications.
    mysql-server - The MySQL server and related files.
    openoffice.org-libs - OpenOffice.org shared libraries
    php-mysql - A module for PHP applications that use MySQL databases.
    qt-MySQL - MySQL drivers for Qt's SQL classes.
    lighttpd-mod_mysql_vhost - Virtual host module for lighttpd that uses a MySQL database
    proftpd - Flexible, stable and highly-configurable FTP server
    squale - Persistent SQL database connection libarary and daemon
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. As there are no mysql4 packages, you cant upgrade to mysql 4.x with apt. Maybe you can install a mysql .rpm package from mysql:

    http://dev.mysql.com/downloads/mysql/4.1.html

    But I'am not sure if you will get dependency problems and if you will have to uninstall or deactivate your current mysql daemon before.
     
  9. sushestvo

    sushestvo Member

  10. falko

    falko Super Moderator Howtoforge Staff

  11. sushestvo

    sushestvo Member

    imma try to install generic linux rpm's manually... i'll let u guys know where i am =))))
     

Share This Page