• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved MariaDB username length

Kaspar

API expert
Plesk Guru
There seems to a limit of 16 characters for the name of a MariaDB database user on my Obsidian 18.0.31 (Maria DB 10.2.36) installation. Which seems rather short. Because MariaDB supports up to 80 characters for a user name.

Schermafbeelding 2020-11-19 om 16.09.51.png

I found this Plesk uservoice request for longer user names from a few year back marked a finished. Which makes me wonder. Is the user name limit for MariaDB reverted back to 16? Or do I have to manually change some settings to take advantage of longer user names?
 
MariaDB 10.x and newer support 80 characters as a user name. Please verify that you really have MariaDB 10.2 by running:
# plesk db
Then check the welcome message of the engine.

If you have verified that this is really version 10.2, please refer to the comments underneath this article for further information:
 
Thank you Peter. Running MYSQL_PWD=$(cat /etc/psa/.psa.shadow) mysql_upgrade -uadmin as suggested in the comments from the article you've linked to solved my issue. Now I can enjoy longer user names :)
 
Back
Top