How to upgrade mysql to 4.1 not 5

Discussion in 'Installation/Configuration' started by massekott, May 5, 2006.

  1. massekott

    massekott New Member

    I would like to upgrade mysql to 4.1 but not to 5. I've tried this in apt-get, but it always suggesting 5. How do you tell it which version you want?

    I'm running a perfect setup Debian Sarge

    Thanks.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Do it like this:

    Code:
    apt-get install mysql-server-4.1 mysql-client-4.1 libmysqlclient14-dev
     
  3. massekott

    massekott New Member

    perfect!

    Exactly what I was looking for. Worked like a charm. Thanks Falko!
     
  4. nenad

    nenad ISPConfig Developer ISPConfig Developer

    How do you manage that apt-get suggest mysql 5 for upgrade ?
     
  5. nenad

    nenad ISPConfig Developer ISPConfig Developer

    If during the debian sarge install, mysql 4.1 is installed instead of 4.xx , then this happens:

    server201:~# mysqladmin -h server1.example.com -u root password yourrootpassword
    mysqladmin: connect to server at 'server1.example.com failed
    error: 'Lost connection to MySQL server during query'

    Unless /etc/mysql/my.cnf is edited and commented out
    bind-address = 127.0.0.1:

    and mysql is restarted
    /etc/init.d/mysql restart

    before mysqladmin -h server1.example.com -u root password yourrootpassword
    is executed
     
  6. falko

    falko Super Moderator ISPConfig Developer

  7. falko

    falko Super Moderator ISPConfig Developer

    Maybe he used backports.org?
     
  8. nenad

    nenad ISPConfig Developer ISPConfig Developer

Share This Page