Applications need four pieces of information to connect to a database.
- Database name: the full name (for example,
account_wordpress), from MySQL Databases. - Database username: the user you assigned to it.
- Password: the password you set for that user.
- Database host: almost always localhost on shared hosting.
Tip: For WordPress, these go into wp-config.php (article 126). If you've lost the password, reset it under MySQL Users in cPanel.
