• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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