I can't connect my laravel project on windows with PlanetScale #528
-
when i run the migrations i get the next error: PDOException::("failed loading cafile stream: `/etc/ssl/certs/ca-certificates.crt'") |
Beta Was this translation helpful? Give feedback.
Answered by
mscoutermarsh
Sep 3, 2023
Replies: 1 comment
-
Hi @Tommy-S05, We have some more info here: https://planetscale.com/docs/concepts/secure-connections#windows The TLDR though is:
That should get you connected! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jgreet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Tommy-S05,
We have some more info here: https://planetscale.com/docs/concepts/secure-connections#windows
The TLDR though is:
cacert.pem
.env
to the file you just downloaded.MYSQL_ATTR_SSL_CA=cert/path/here/cacert.pem
That should get you connected!