planetscale / express-example

Example Express.js app connecting to PlanetScale

Home Page:https://planetscale.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't connect planetscale securely.

artemismars opened this issue · comments

Using tools

  1. MySQL2
  2. Sequelize
  3. Express
  4. Heroku

I sent post request to server api from postman.
But it says this error.

Screenshot_20220319-090926_Brave.jpg

I went to .env file and changed DATABASE_URL value. Like ?ssl={}
But it didn't work.
How to solve this issue?

My app is deployed on heroku now.