If you happen to’re establishing a model new set up of WordPress, you will have to know the worth to place in your wp-config.php file for Database Host.
Bear in mind that this isn’t the identical worth for everybody who’s putting in WordPress. It’s distinctive to your internet hosting firm.
Right here’s an instance of what we’re :
outline(‘DB_HOST’, ‘MyDatabaseHost’); // Instance MySQL Database host
More often than not the DB_HOST worth goes to be localhost. Nevertheless, it varies relying in your host. For instance, DreamHost might need a price of mysql.instance.com and 1and1 might need a price that appears one thing like this: db12345678. It depends upon the place your host shops the databases in your specific internet hosting account.
The WordPress codex has a listing of attainable values for a handful of internet hosting firms on the Modifying wp-config.php web page. If you happen to’re undecided, simply examine your host’s documentation or contact tech help. They’ll have the ability to let you recognize the hostname in your database server.