Use /etc/mysql/koha-common.cnf instead of the Debian one.
[koha.git] / debian / scripts / koha-remove
index 7b4a19e..de3fe1c 100755 (executable)
@@ -24,7 +24,7 @@ for name in "$@"
 do
     echo "Removing Koha instance $name"
 
-    mysql --defaults-extra-file=/etc/mysql/debian.cnf <<eof
+    mysql --defaults-extra-file=/etc/mysql/koha-common.cnf <<eof
 DROP USER 'koha_$name';
 DROP DATABASE koha_$name;
 FLUSH PRIVILEGES;