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

             Bug #: 7428
           Summary: koha-create shoud check for length of instancename
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Packaging
        AssignedTo: ro...@catalyst.net.nz
        ReportedBy: mag...@enger.priv.no
         QAContact: ian.wa...@bywatersolutions.com


"MySQL user names can be up to 16 characters long." (
http://dev.mysql.com/doc/refman/5.0/en/user-names.html )

koha-create constructs the mysql username for a new instance by prepending
"koha_" to the instancename. If this results in a username that is longer than
16 characters, mysql will give an error. 

koha-create should do one of these: 

- check the length of the provided instancename and exit with an explanatory
message if the mysql username will be too long

- truncate the instancename and use the resulting string as the mysql username,
making sure to put the right string in koha-conf.xml

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to