Debian: apt-get install subversion

March 13th, 2009 | by Kennith |

I am a big fan of apt-get, yum, or whatever package software you use. It saves so much time and effort to install a common use program without compiling from source.

I just setup a Debian 5 server and installing LAMP for development.

Compiling Apache, mysql, and php from source has no problem. It runs and I was happy until I install subversion.

Somehow, starting Debian 5.0, the subversion requires mysql-common package. The mysql-common package create a my.cnf file under /etc/mysql/. The mysql compile from source got confused and read /etc/mysql/my.cnf as the run time configuration file.

A solution is replace the /etc/mysql/my.cnf (from mysql-common package) by the mysql compile from source. Now mysql starts happily.

Now the question is, why mysql-common create a my.cnf? What problem will I create when I replace it with my own my.cnf. Will it affect subversion?

Post a Comment