I'm trying to install mysql-server 5.0. because I want to install a program which depend on this version. I've surfed the net to find a solution but none of them worked. I'm really disappointed. I tried "apt-get install mysql-server=5.0.96-0ubuntu3" but it said "Version '5.0.96-0ubuntu3' for 'mysql-server' was not found". I found this package at http://packages.ubuntu.com/hardy/mysql-server-5.0 but I don't know how to use it. Is it a way that I can install it manually? please help me!
Following the link you provided just click on your operating system's architecture (amd64 or i386) at the very bottom of the page. You will be redirected to a page with a download link for the corresponding .deb file (quite in the middle of the page). After you downloaded the file you can install it via
If that doesn't work, the solutions given here should still work.
Basically it's about installing old MySQL versions via Synaptic packet manager (which you can easily install by typing
Download desired MySql generic binaries for your platform from http://dev.mysql.com/downloads/mysql/ Then just install using simple linux script(run from /share directory where setup binaries are placed ) , refer below for a script i used for years , worked for 5.1,5.5,5.6
Note : 1.MySql 5.6 does not come with default 'my.cnf' therefore be careful 2. Make sure you uninstall any exiting MySql setup