Nov 18, 2009

Percona MySQL Install on Ubuntu 8.0.4 LTS

I was looking for a install guide / walk through so I could install the Percona Builds of MYSQL on Ubuntu 8.0.4.

In the end I did the following:

Edited sources as per: http://www.percona.com/docs/wiki/release:start

apt-get install build-essential

Then I got the deb packages directly, I wanted to be sure of the version.
wget http://www.percona.com/mysql/5.0.87-b20/deb/5.0.2/x86_64/libmysqlclient15-dev_5.0.87-percona-b20_amd64.deb
wget http://www.percona.com/mysql/5.0.87-b20/deb/5.0.2/x86_64/mysql-client-5.0_5.0.87-percona-b20_amd64.deb
wget http://www.percona.com/mysql/5.0.87-b20/deb/5.0.2/x86_64/mysql-common_5.0.87-percona-b20_all.deb
wget http://www.percona.com/mysql/5.0.87-b20/deb/5.0.2/x86_64/mysql-server-5.0_5.0.87-percona-b20_amd64.deb

dpkg -i mysql-common_5.0.87-percona-b20_all.deb
dpkg -i libmysqlclient15-dev_5.0.87-percona-b20_amd64.deb

This threw a dependency error for me.
apt-get -f install

apt-get install libdbi-perl
apt-get install libdbd-mysql-perl

dpkg -i mysql-client-5.0_5.0.87-percona-b20_amd64.deb
dpkg -i mysql-server-5.0_5.0.87-percona-b20_amd64.deb


mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 37
Server version: 5.0.87-b20 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> exit
Bye

0 comments:

Post a Comment