Hello I have DB that I want to connect to my Nodejs app running in the DO App Platform. I followed the concept in this post to add the env vars and CA path for allow my app to connect: https://www.digitalocean.com/community/questions/how-can-we-configure-planetscale-with-app-platform
However I think the CA path and env var may be different for Nodejs app vs Laravel like in that post. Has anyone had any luck connecting to PlanetScale DB’s via
mysql2 in a Nodejs app before?
Any help is greatly appreciated 🙏
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.