How to connect to my database?

Posted December 1, 2015

This article assumes that you already have created your database and your database user.

To use your database with your applications, use the following configuration:

Database server or host: localhost
Database username: cpanelusername_dbuser
Database password: your password
Database name: cpanelusername_dbname

Note that your database names and users will always be prefixed with your cPanel username followed by an underscore.

Related articles
  Terms of Service (Customer Agreement)
  How to secure my website and emails?
  How to pay online for your digital goods?
  CPU, Disk I/O and Memory (Resource Usage Policies)
  How to clear your DNS cache?
  Unmetered Disk Space & Bandwidth (Resource Usage Policies)
  How to create a database?
  How to upload files using FTP?
  What is an addon domain and how to use it?
  How to fix 500 Internal Server Error?
  Backups (Resource Usage Policies)
  How to check my email using an email client like Outlook or Thunderbird?
  Emails (Resource Usage Policies)
  How to fix Google malware warning?
  Terms of Service (Privacy Policies)

« Go back

Do not reproduce or distribute articles without proper permission or attribution (link to Hanep Hosting).

Powered by Help Desk Software HESK, brought to you by SysAid