How do I find my database hostname?
This article will show you where to find the hostname for your database.
If you want to remotely connect to any databases within your hosting account, you will need to enter its hostname. Click the relevant title from the list below and follow the provided instructions to get started:
Please note: this process only applies to Web Hosting plans purchased after July 2020 and Premium Hosting plans purchased after August 2020 (cPanel).
If you’re remotely connecting to a database on cPanel hosting, you will need to use your hosting package’s IP address as the hostname.
If you’re connecting to a database via the hosting package itself (i.e. connecting a WordPress website that’s hosted on cPanel hosting to a database within the same package), you can use localhost as your hostname.
Start by accessing your Web Hosting dashboard.
From there, select Plesk Admin.
Next, click Databases in the left-hand menu.
You will now see all the details for your account’s databases, including the hostname and users.
Important: do not include the port number that is featured at the end of your hostname. For example if your server is 22.214.171.124:5678, you will need to use 126.96.36.199 as your hostname.
Start by logging in to your 123 Reg Control Panel.
From there, select Manage All opposite Managed WordPress within the ‘All Products and Services’ section.
On the next page, select the 3-dot icon for the package you want to access and then choose Settings from the menu that appears.
Click Show more within the Production Site section.
Select View opposite Database details.
A pop-up window will now appear where you will see all the details for your database, including the hostname, port number, username and password.