New User to DB needs escaped underscore

Version 1.564

Bugfix
Finished

Relating to this change to support MySQL 8.0: https://www.directadmin.com/features.php?id=2314 Bug was introduced that added users to database: 'user_dbname' but needs to be: 'user\_dbname' Else, it would cause issues when trying to alter permissions. Dropping a User does not reference the database column if that User is only on this DB, so not an issue to delete. Dropping a User does reference the database column BUT uses an 'or' for either syntax, so also not an issue to delete.

Interested to try DirectAdmin? Get a 30-day Free Trial!