just use google first: max name length directadmin
your mysql version compatible with longer names?
you must restart directadmin/mysql after modifications
with this mysql version long names not allowed, use short names, replace in website configs dbname/dbuser with new.
could help
max_username_length=10
Max length a username can be. Max is 30. It is limited to max of 14 with MySQL 5.5/5.6 and MariaDB 5.5 because of the 16 character mysql database name limit and the username naming prefix.
http://www.directadmin.com/features.php?id=189
https://www.directadmin.com/features.php?id=2294
You set what to 20?
You have 30 total.
and only 16 total for mysql.
You have 18 in the Screenshot which won't work. You need 2 fewer characters from somewhere.