MySQL database connection string
To locate your MySQL database name, server name, username and password details, please follow the instructions below.
Locate database connection details on cPanel Hosting
- Log into your Account.
- Find your cPanel service and click login.
- Click on the MySQL Databases icon.
- The database name and username will be displayed on this page.
- If you do not remember your database password, you will need to create a new database user and add that user to your database.
- You may use 'localhost' in the Server = field of your connection string.
Updated 2 days ago