Skip to content

I can't connect my laravel project on windows with PlanetScale #528

Answered by mscoutermarsh
Tommy-S05 asked this question in FAQs
Discussion options

You must be logged in to vote

Hi @Tommy-S05,

We have some more info here: https://planetscale.com/docs/concepts/secure-connections#windows

The TLDR though is:

  1. Go here: https://curl.se/docs/caextract.html
  2. Download that top link: cacert.pem
  3. In your project, update the cert path in your .env to the file you just downloaded. MYSQL_ATTR_SSL_CA=cert/path/here/cacert.pem

That should get you connected!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jgreet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
None yet
2 participants