0

I've built out a wordpress website locally and now I'd like to deploy it from localhost to an actual web address hosted on Heroku.

I've created a new sql database on my newly created Heroku site and am using the Wordpress Duplicator plugin to transfer everything over.

I've pushed all my files onto heroku master, and I've installed the Duplicator installer.php and .zip files.

However, when I actually try connecting to my Heroku data from the installer, it pauses for a while and gives the following error.

"An error occurred while testing the database connection! Contact your server admin to make sure the connection inputs are correct!"

Am I missing something in regard to connecting to Heroku databases externally? What's the best way to get wordpress up on Heroku?

1 Answers1

0

Note that the SQL connection string for your app deployed on heroku is very definitely not localhost. In particular:

Hope this helps.

Silver Dragon
  • 5,480
  • 6
  • 41
  • 73