Click to See Complete Forum and Search --> : Installing MySQL via apt-get on Debian


jdvilla
08-03-2004, 02:25 PM
I'm looking to install MySQL 4.1 via apt-get on Debian 3.0 stable

I've tried

apt-get install mysql=4.1

and some others, but I can't seem to install it. I get the messages

version not found
or something about it being listed in the package list but unable to install.

Does anyone have a repository they know which has mysql 4.1 and how they used apt-get to install it?

knocknock
08-03-2004, 04:43 PM
Hi!

You know I tryed with a few backports sites but none seems to have mysql-server 4.1 version.

I suggest you to insall the last mysql-server backported version which AFAIK is Mysql 4.0.20-1 which is at Backport.org.

In resume the installation is easy:
1) Add the next line to your /etc/apt/sources.list
deb http://www.backports.org/debian woody mysql-dfsg

2) Run 'apt-get update'
3) Run 'apt-get install package_na,me' for each mysql package you want. Using the source I proovided of backports the packages avaiables are:
libmysqlclient-dev
libmysqlclient12
mysql-client
mysql-common
mysql-server

It's a good practice to read the documentation that each backport server proovide about they backports before trying to install them.

Hope it helps.

Kind Regards

KnocKnocK Webmaster
http://www.knocknock.biz

Syngin
08-07-2004, 10:50 AM
Thanks, knockknock. I wondered how that was done.