• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Connecting Wordpress site to Parallels database - DB Host

rsy644

New Pleskian
Hi there,

I am doing some work for a client and I am migrating a wordpress site to a server hosted at Parallels. I have imported the database but upon moving all the relevant files, I go to my site's url and I cannot connect - it gives a 500 Internal Server error.

In my wordpress WP-config file, the value for the 'DB_Host' constant is 'localhost'. define('DB_HOST', 'localhost');

I have a feeling this may be the problem - as I guess I am supposed to change this. Would anyone possibly know of the correct hostname? In the Plexus control panel on the 'databases' page, it specifies the database server as 'Local MySQL Server'.

If anyone has any suggestions on this, they would be much appreciated!

Thanks,

RObert Young.
 
"localhost" is fine and should work (that is if the site is on the same server as MySQL)
About the 500 Internal error, I suggest you start by looking at the logs for the actual error ...

It could also be an issue of permission, you need to verify that too! If you have SHELL access to the server then it's a walk-over ...
 
Back
Top