Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Connection Error #39

Open
srivatsam opened this issue Oct 25, 2023 · 3 comments
Open

Database Connection Error #39

srivatsam opened this issue Oct 25, 2023 · 3 comments

Comments

@srivatsam
Copy link

I followed same steps from the video, setup db on PlanetScale but shows the error.

Screenshot 2023-10-25 at 6 07 13 PM

@pauloeliass
Copy link

I have faced the same issue and this is what I did to solve it:

  1. Delete the app on vercel and deploy it again from ServerlessWP README page
  2. Go to the serverless.yml file and modify the timeout counter at line 13 from 15 to 60 seconds
  3. Try to access your WordPress site and voilà! Now it should be working again

@Shashankphatkure
Copy link

or else try to check the environment settings like dbname, password, username and host again in environment setting in vercel / netlify and then redeploy it

@xflysaround
Copy link

Had the same issue. Ended up just being that I was missing my custom mysql port setting. For anyone looking to do the same the env format is :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants