Databases

Can I set my database hostname as 'localhost'?

No — Mandraled Hosting uses separate physical servers so you must use the actual database hostname.

1 min read Updated 11 Apr 2026 Guide 1 of 6

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.

Did this solve your problem?

Brilliant — glad that sorted it.

Sorry about that — let's get you a proper answer.

Still stuck?

Talk to a real human.

Our Thoothukudi team answers hosting, domain and email questions themselves — no bots, no scripts.