Here is a list of different hostnames for different Hosting providers to establish a database connection in your hosting account. Almost all online software installations today like WordPress, Drupal, require a database connection.
| Hosting Company | Database Hostname |
|---|---|
| 1and1 | db12345678 |
| AN Hosting | localhost |
| Aruba.it | localhost or real IP provided with activation mail. |
| A Small Orange | localhost |
| BlueHost | localhost |
| DreamHost | mysql.example.com |
| GoDaddy – Shared and 4GH Hosting | In the Databases menu go to MySQL. To the right of the database name click on Actions and Details. The hostname is at the bottom of the window. |
| GoDaddy – cPanel Hosting | localhost |
| GoDaddy – Plesk Hosting | Use the IP address shown in the Databases Section in Plesk. Do not include :3306 |
| HostGator | localhost |
| HostICan | localhost |
| ICDSoft | localhost:/tmp/mysql5.sock |
| Infomaniak Network | mysql.yourdomain |
| iPage | username.ipagemysql.com |
| IPower | username.ipowermysql.com |
| LaughingSquid | localhost |
| MediaTemple GridServer | internal-db.s44441.gridserver.com |
| MediaTemple (dv) | localhost |
| MegnaHost | localhost |
| NearlyFreeSpeech.Net | username.db |
| NetworkSolutions | mysqlv5 |
| one.com | example.com.mysql |
| pair Networks | dbnnnx.pair.com |
| QTH.com | localhost |
| Rackspace Cloud | localhost for unmanaged servers, variable for Cloud Sites like mysqlXY-AB.wcN.dfQ.stabletransit.comwhere X,Y,A,B,N,Q are variables |
| SysFix.eu Power Hosting | datapower.sysfix.eu |
| Yahoo | mysql |
| Hosts with cPanel | localhost |
| Hosts with Plesk | localhost |
| Hosts with DirectAdmin | localhost |
| Tophost.it | sql.your-domain-name.it |