CAN I SET MY DATABASE HOSTNAME AS ‘LOCALHOST’?

Created by Salim Shadman, Modified on Mon, 28 Aug, 2023 at 5:33 AM by Salim Shadman

No, you would need to set the database hostname as the server that it’s on at Wpworld.

You can find this by going to the MySQL Databases icon within a package. The hostname you’ll need to use will be something similiar to ‘shareddb1b.hosting.stackcp.net’ although it’s likely the database name on your package will be different.

‘localhost’ generally means the MySQL databases are hosted on the same server as the websites, which is quite common in the web hosting industry with hosts that have a ‘single-server’ approach where all services run from the same machine.

It’s different at Wpworld as we split all services and have a strict ‘one server, one rule’ policy. 

At the Wpworld data centres, web traffic, MySQL traffic and storage are all physically different machines, so ‘localhost’ doesn’t work.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article