How to install MySQL server 4.1 on Ubuntu Edgy

In Ubuntu Edgy Eft, the default repository only have mysql-server-5.0 since it is the lastest stable version. However, in some rare cases where existings codes are relying on MySQL 4.1, it is eaiser to install MySQL 4.1 to minimize the effect on the codes. Below is what I did.

Actually, it just like installing other softwares on Ubuntu but you have to know that mysql-server-4.1 is in universe.

  1. Make sure universe is in /etc/apt/sources.list.

    deb http://th.archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
    
  2. Simple install.

    sudo apt-get install mysql-server-4.1
    

If everything goes well, you will have MySQL 4.1 running.

Tags: , ,

Post new comment