Your WordPress website should be using
localhost as your database hostname.
All WordPress websites are automatically set up, so in most cases this is already set for you in the
config.php file – not your wp-config.php file.
config.php, you will see the following line that sets your database hostname:
define( 'DB_HOST', 'localhost' );
If you have problems with your database and/or database connection, don’t hesitate to contact support.