Koha/debian/scripts
Robin Sheat aba36d26d9 Bug 8162: allow packages to work on Ubuntu Precise
The newer version of MySQL in Ubuntu 12.04 installs a default
'localhost' user with no username. Due to the way that MySQL looks up
user details when you connect, if you connect from localhost and the
user was only created with a wildcard host (%), the anonymous localhost
user will be found instead. This means that your username is lost for
the connection, and you have no privileges.

This patch creates a second user with a hostname of 'localhost'. This
will not work if your database is on a remote server, but you probably
know what you are doing if that's the case. Patches to determine this
server's name relative to the MySQL server are welcome (or even ideas on
how to do it.)

It also fixes up a couple of other small things:
* make koha-remove stop zebra properly
* stop the warning that the password file is missing on create

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Works as promised.
2012-08-29 13:46:04 +02:00
..
koha-create Bug 8162: allow packages to work on Ubuntu Precise 2012-08-29 13:46:04 +02:00
koha-create-dirs
koha-disable
koha-dump Bug 8268: Add database dump to export tool 2012-07-12 17:40:21 +02:00
koha-dump-defaults
koha-email-disable
koha-email-enable
koha-enable
koha-foreach
koha-list
koha-mysql
koha-rebuild-zebra
koha-remove Bug 8162: allow packages to work on Ubuntu Precise 2012-08-29 13:46:04 +02:00
koha-reset-passwd
koha-restart-zebra
koha-restore Bug 7216 - koha-restore does not correctly set home 2011-12-06 17:01:56 +01:00
koha-run-backups Bug 8268: Add database dump to export tool 2012-07-12 17:40:21 +02:00
koha-start-zebra
koha-stop-zebra
koha-upgrade-schema
koha-upgrade-to-3.4