PDA

View Full Version : How can I fix a "mysql" installation mistake?


dvarsam
January 22nd, 2007, 06:49 PM
Hello!

I decided to install mysql-server-5.0.

But on the Terminal window, I forgot to type:

apt-get install mysql-server-5.0 --prefix=/usr/local/mysql

And instead, I simply typed:

apt-get install mysql-server-5.0

I forgot to add the "--prefix..." option!

Questions:

1. How can I correct this?
2. Where is MySQL currently installed? - i.e. on which directory?

The following packages were installed:

1. libdbd-mysql-perl_3.0006-1_i386.deb
2. libdbi-perl_1.51-2_i386.deb
3. libmysqlclient15off_5.0.24a-9_i386.deb
4. libnet-daemon-perl_0.38-1.1_all.deb
5. libplrpc-perl_0.2017-1.1_all.deb
6. mysql-client-5.0_5.0.24a-9_i386.deb
7. mysql-common_5.0.24a-9_all.deb
8. mysql-server-5.0_5.0.24a-9_i386.deb

Please help me fix this...
Thanks.

P.S.> Also, when I try to install "apache2", using the following command:

apt-get install apache2 --prefix=/usr/local/apache2 --enable-module=so

I get the following error:

E: Command line option --prefix=/usr/local/apache2 is not understood

Question 3:
What is wrong in this case?

dvarsam
January 22nd, 2007, 07:16 PM
Has the "--prefix" option been dropped...?

And replaced with what option instead?

Thanks.