Introduction
By default, cPanel created database names and database usernames are prefixed with the username of the cPanel account they are associated with. This behavior can be enabled/disabled in WHM.
Procedure
- Log into WHM as the root user.
- Navigate to Server Configuration >> Tweak Settings.
- Click on the SQL tab.
- Change the option for 'Require a username prefix on names of new databases and database users' to the desired setting.
- Click the Save button.
Any new databases or database usernames will be created without the cPanel account username prefix if the setting is off. This change doesn't affect existing databases or database usernames.