diff --git a/plogical/mysqlUtilities.py b/plogical/mysqlUtilities.py index 77ea5b9e3..225f0edfc 100755 --- a/plogical/mysqlUtilities.py +++ b/plogical/mysqlUtilities.py @@ -255,8 +255,8 @@ password=%s def submitDBCreation(dbName, dbUsername, dbPassword, databaseWebsite): try: - if len(dbName) > 16 or len(dbUsername) > 16: - raise BaseException("Length of Database name or Database user should be 16 at max.") + if len(dbName) > 32 or len(dbUsername) > 32: + raise BaseException("Length of Database name or Database user should be 32 at max.") website = Websites.objects.get(domain=databaseWebsite) @@ -763,4 +763,4 @@ password=%s except BaseException as msg: logging.CyberCPLogFileWriter.writeToFile(str(msg) + "[mysqlUtilities.fetchuser]") - return 0 \ No newline at end of file + return 0