Answer: No. At Mandraled Hosting, you must use the actual database server hostname instead of 'localhost'.
The hosting provider uses a distributed infrastructure where services operate on separate physical servers. Users should locate their specific database hostname by accessing the MySQL Databases section within their hosting package. Typical hostnames resemble shareddb1b.hosting.stackcp.net, though individual hostnames vary by account.
Infrastructure Explanation
Mandraled Hosting operates under a \"one server, one rule\" policy. Unlike some hosts where web and database services run on a single machine, this provider maintains physical separation:
- Web traffic runs on dedicated machines
- MySQL traffic operates on separate servers
- Storage uses different infrastructure
This architecture prevents 'localhost' from functioning as a database connection method, since the database isn't hosted on the same server as your website.