How do you install MySQL 5.1 on Ubuntu 8.10?

4.5k views Asked by At

According to various blogs and forums, you should be able to do simply "sudo apt-get install mysql-server-5.1".

But I tried and it doesn't work (package not found by this name). What am I missing?

4

There are 4 answers

2
Dani On

download it from the site, and follow instruction. it works.

Downlaod: link text

Instructions: link text

1
GDR On

Go to Administration Synaptic Package Manager and search for MySql. You will be able to see mysql-server and the version is 5.1.3.

If you do a 'sudo apt-get install mysql' it will Mysq 5.1.3, you can also try and install 'sudo apt-get install mysql-server-5.1'

While you are there you can also install modules/drivers for your fav language.

0
Andrew On

There's a group at dotdeb.org - they maintain a MySQL 5.1 package for Debian that you might try.

First, add the following line to your /etc/apt/sources.list

deb http://packages.dotdeb.org lenny all

Then refresh your local list of packages:

sudo apt-get update

Now you can install the package:

apt-get install mysql-server-5.1

If you have a version of /etc/mysql/my.cnf that you have edited, the install will ask you if you want it replaced. I replaced it and made a note to fix the --bind-address = 127.0.0.1 line to the server's ip addr so I can connect over the network.

2
MP24 On

It seems that there is a inofficial repository. See this Ubuntu Forums post: http://ubuntuforums.org/showthread.php?t=1039946&highlight=mysql+5.1