Standard MySQL 5.5 installation on debian using dotdeb

Written by Peter Davies on .

On debian the fastest way to setup MySQL 5.5 is just the following:

nano /etc/apt/sources.list

# for mysql 5.5
deb stable all
deb-src stable all

cat dotdeb.gpg | apt-key add -
apt-get update

apt-get install mysql-server-5.5

Now check your phpMyAdmin or similar management tool to see if the correct version is being reported (or use mysql -v).