Hi

> I use MySQL and Ubuntu.
>
> Here are the files that I see:
> /etc/mysql$ dir
> conf.d         debian-start     my.cnf           mysql.cnf
> debian.cnf  koha-common.cnf  my.cnf.fallback  mysql.conf.d
>
> Do you know which I must edit?

In this case it is "/etc/mysql/my.cnf" (which in Ubuntu is actually a link to "/etc/mysql/mysql.cnf"). In "my.cnf" you may just insert the following at the end of the file:

[mysqld]
init-file=/var/lib/mysql/init-file_koha_fix.sql

After, don't forget to restart MySQL.

$ sudo service mysql restart

Hope this helps.

Best wishes: Michael
--
Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis
Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz
T 0041 (0)61 261 55 61 · E [email protected] · W www.adminkuhn.ch
_______________________________________________
Koha mailing list  http://koha-community.org
[email protected]
https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to