What is the MySQL hostname of my site’s database?
All you usually need to know is that your database hostname is localhost at Kinsta. But if you’d like to learn more about the topic or need to connect remotely to a database, we have a dedicated article showing you how to connect directly to your site’s database.