Use /etc/mysql/koha-common.cnf instead of the Debian one.
[koha.git] / debian / koha-common.README.Debian
1 Koha filesystem layout on Debian
2 ================================
3
4 The Debian packaging of Koha puts files in the following places:
5
6 * /etc/koha -- system configuration files
7 * /etc/cron.hourly/koha-common -- cron job
8 * /usr/share/koha -- shared files (HTML templates, Perl code, etc)
9
10 Each Koha instance has files in the following places:
11
12 * /etc/koha/sites/$name -- confguration files
13 * /etc/apache2/sites-available/$name -- Apache config file
14 * /var/lib/koha/$name -- Zebra databases
15 * /var/log/koha/$name -- log files (Apache, Zebra)
16 * /var/lock/koha/$name -- run-time lock files
17 * /var/run/koha/$name -- run-time sockets etc
18 * /var/spool/koha/$name -- database dumps
19
20
21 Koha and MySQL
22 ==============
23
24 koha-common's postinst script sets up the /etc/mysql/koha-common.cnf,
25 and all scripts use that to access the MySQL database. By default, it
26 is a symlink pointing at debian.cnf, and only works on localhost.
27 If you wish, you can create a file /etc/mysql/koha-common.cnf instead
28 of the symlink, and point it at a remote server. There is currently
29 no tool to help you do that, but it should be fairly straightforward.