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 Bug 7008 - create tmp dir for zebra 2011-12-03 07:56:44 +01:00
koha-disable Add koha-disable, a script to disable a Koha instance. 2010-05-25 07:59:29 -04:00
koha-dump Bug 8268: Add database dump to export tool 2012-07-12 17:40:21 +02:00
koha-dump-defaults Bug 5509 - use an XML parser to get values from config 2011-04-28 13:35:25 +12:00
koha-email-disable Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-email-enable Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-enable Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-foreach Bug 5510: prepend output with system name 2010-12-19 07:10:06 +13:00
koha-list Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-mysql Bug 6486 - add the koha-mysql command 2011-08-18 21:20:52 +12:00
koha-rebuild-zebra Bug 6031 : Fix for syntax (bashism crept into a pure sh script) 2011-05-02 12:44:48 +12:00
koha-remove Bug 8162: allow packages to work on Ubuntu Precise 2012-08-29 13:46:04 +02:00
koha-reset-passwd Use /etc/mysql/koha-common.cnf instead of the Debian one. 2010-05-25 08:04:32 -04:00
koha-restart-zebra Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00
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 Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00
koha-stop-zebra Bug 6929 - ensure that koha-stop-zebra will try to stop everything 2011-10-19 16:26:57 +13:00
koha-upgrade-schema Add koha-upgrade-schema, a script to upgrade the database schema. 2010-05-25 07:59:35 -04:00
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00