DevKinsta Error Establishing a Database Connection

Sending the update here as well:

Hello @thatguycleeb :waving_hand:

While this is completely out of scope of our services I have tried composing a backup like the one from Mykinsta but I was not successful.

I was able to get the site working on my end by manually correcting issues.

  1. Take wp-config-sample.php, copy the code out of it and replace the database name, user, host and password. host should be devkinsta_db, the user is root, the password you can get from DevKinsta site page, it should contain. You will also need to update the DOMAIN_CURRENT_SITE to foundation.local
  2. You then need to edit wp_blogs, wp_options, wp_4_options to edit site URLs in all of them.

I know it’s a lot of work that DevKinsta should handle automatically, but for some reason the backup simply doesn’t work. I’ve tried many options, unpacking it and fixing it myself but for some reason it won’t upload/unpack properly in DevKinsta.

I’m sorry I wasn’t able to provide a better solution.