You need to set the database hostname as the Megabit Cloud | Web Hosting server.
You can find this through the MySQL Databases icon within a package. The hostname you’ll need to use will be similar to ‘shareddb1b.hosting.stackcp.net’, although the database name on your package will likely 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 Megabit Cloud as we split all services and have a strict 'one server, one rule' policy.
At the Megabit Cloud data centers, web traffic, MySQL traffic, and storage are physically different machines, so 'localhost' doesn't work.
Comments
0 comments
Please sign in to leave a comment.