» My database name has added username_ to it - do I use that in my scripts?

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 the wp - config.php file in your public_html folder. It will list the DB_NAME and DB_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

Was this answer helpful?

Add to favorites Add to Favourites
Print Print this Article