Configure ISPConfig max database username lenght

Discussion in 'Installation/Configuration' started by alleks, Jul 27, 2011.

  1. alleks

    alleks Member

    Hello, what values do I have to edit in order to be allowed to enter a longer than 16 chars database username.

    I have already edited the value for the web_database->database-user to 255 and 20 to user rows in mysql tables.

    What else?

    This is the error message I am talking about:
    Database username - pruebas_emprentic- too long. The max. database username length incl. prefix is 16 chars.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please see mysql documentation, Mysql does not support usernames with more then 16 chars, thats why there is a limit in ispconfig. So changing the limit in ispconfig will not help you in any way, you would have to change the mysql sources if you want to get longer users.
     
  3. alleks

    alleks Member

    Thank you till for your answer, I have decided to not modify any mysql parameters and just restructure my databases and set them up with proper name for each cases. I do think I might hard code in the future something for ISPConfig to ignore what I just did because it does not accept it. :)
     

Share This Page