In Control Web Panel (CWP), your database names and usernames usually follow a specific format, typically incorporating the CWP user account name as a prefix to ensure uniqueness.
Here is how to find or create them:
1. Where to Find Your Database Details
- Via CWP User Panel (Preferred): Log in to your user account (usually port 2083), navigate to SQL Services > MySQL Manager.
- Via
wp - config.php(For WordPress): If you are trying to find details for an existing site, check thewp - config.phpfile in yourpublic_htmlfolder. It will list theDB_NAMEandDB_USER.
2. Database Naming Convention
When you create a database in CWP, it is usually formatted as: cwpusername_databasename
- Example: If your CWP user is client1 and you create a database named wp, the full database name is client1_w