Steps I used to get MySQL 5.5 working on Ubuntu 11.04 AMD64 (behind Aptitude’s back sadly since it’s still not packaged up due to copyright statuses..):
-
Download the following from here.
- mysql-common_5.5.13-2_all.deb
- libmysqlclient18_5.5.13-2_amd64.deb
- libmysqlclient-dev_5.5.13-2_amd64.deb
- mysql-client-5.5_5.5.13-2_amd64.deb
- libmysqld-dev_5.5.13-2_amd64.deb
- libmysqld-pic_5.5.13-2_amd64.deb
- mysql-server-core-5.5_5.5.13-2_amd64.deb
- mysql-server-5.5_5.5.13-2_amd64.deb
-
Run the following to remove older versions of MySQL client/server:
sudo aptitude remove mysql-client mysql-client-5.1 mysql-client-core-5.1 mysql-common mysql-server mysql-server-5.1 mysql-server-core-5.1
-
From the directory you downloaded the files above to:
sudo aptitude install libmysqld-dev sudo dpkg -i mysql-common_5.5.13-2_all.deb sudo dpkg -i libmysqlclient18_5.5.13-2_amd64.deb sudo aptitude install zlib1g-dev sudo dpkg -i libmysqlclient-dev_5.5.13-2_amd64.deb sudo aptitude install libdbi-perl libdbd-mysql-perl sudo dpkg -i mysql-client-5.5_5.5.13-2_amd64.deb sudo dpkg -i libmysqld-dev_5.5.13-2_amd64.deb sudo dpkg -i libmysqld-pic_5.5.13-2_amd64.deb sudo dpkg -i mysql-server-core-5.5_5.5.13-2_amd64.deb sudo dpkg -i mysql-server-5.5_5.5.13-2_amd64.deb
Took me awhile of messing around to get the sequence right, hope this helps!
Reference/links from blog post/comments here.