[Koha-bugs] [Bug 9409] New: koha-create --request-db should be able to accept a dbhost option

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 16 22:18:59 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9409

            Bug ID: 9409
           Summary: koha-create --request-db should be able to accept a
                    dbhost option
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Installation and upgrade (command-line installer)
          Assignee: gmcharlt at gmail.com
          Reporter: ibeardslee at gmail.com

koha-create --request-db should be able to accept a dbhost option and write
that to koha-conf.xml

When installing koha via the debian packages with the database on a separate
host, as per
http://wiki.koha-community.org/wiki/Install_Koha_3.6_on_Debian_squeeze_using_a_separate_MySQL_server,
it is suggested that you run ..

 koha-create --request-db mylibrary

This creates a text file with the appropriate details to use to create the
mysql database, it also writes the database name, user and password into the
/etc/koha/sites/mylibrary/koha-conf.xml file.

But this process leaves the <hostname> unpopulated, essentially defaulting to
'localhost'.  That config option has to be manually entered for a remote
database host.

Ideally one should be able to use ..

 koha-create --request-db mylibrary --dbhost databaseserver

koha-create should also return details on where to change the hostname of the
database server (whether the --dbhost option is used or not).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list