Knowledge Base

Back to Categories

MySQL Connection Credentials

The essential MySQL connection credentials are in the following format:

MySQL host: localhost (for scripts resident on the webserver)
MySQL host: server IP address shown in your cPanel (for remote connections)
MySQL database name: cpaneluser_dbname
MySQL username: cpaneluser_dbusername

where 'cpaneluser' refers to your cPanel username, 'dbname' refers to the database name specified on creation, and 'dbusername' refers to the database username assigned to the database.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read

Search Again