Whether you are using WordPress, Magento, Drupal or something completely custom to your site, the connection to the database should be pretty similar.
When you register you host you will receive alle the necessary information about your database.
The database most often runs on the same server as your website, therefore you should input
localhost as the database server, instead of the server name.
You configure the database in the following files:
Most commonly you will have to fill in:
and in some cases port (
3306). All this is provided in the mail received when adding a host, site or database.
Give us your feedback on this article
Did this help you?
Want to speed up your site, easily?
Set up your site on Servebolt, free of charge for 60 days, and see for yourself how fast it can be on our extremely fast hosting.
A faster site converts better, ranks better on Google, and is better for the climate.