Install MySQL 5.1 on Debian 5.0.3 HOW-TO
So i have seen some posts going on the Internet regarding problems People are having, trying to install MySQL on Debian, so i decided to give it a go – and install the latest GA MySQL on the latest Debian.
I am assuming that this is a dedicated Database server machine , so i installed it from scratch , using only the first CD image of the Debian 5.0.3 installation.
Just follow the Steps:
1. install debian 5.0.3 from cd-1 , when choice of what to install ,
leave only "system" so its nice and small
2. edit /etc/apt/sources.list and add to it ->
deb http://packages.dotdeb.org lenny all
deb http://http.us.debian.org/debian stable main contrib non-free
3. apt-get update
4. apt-get install openssh-server
5. apt-get install mysql-server-5.1
Thats about it.