ServerlessWP
ServerlessWP copied to clipboard
Database Connection Error
I followed same steps from the video, setup db on PlanetScale but shows the error.
I have faced the same issue and this is what I did to solve it:
- Delete the app on vercel and deploy it again from ServerlessWP README page
- Go to the
serverless.ymlfile and modify the timeout counter at line 13 from 15 to 60 seconds - Try to access your WordPress site and voilà! Now it should be working again
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
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