Skip to content

Commit

Permalink
hotfix(post): mysql connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
josefaidt committed Dec 7, 2021
1 parent 684178e commit 25d19c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Now, _continuing_ the blog post we'll need to add a parameter to the MySQL conne
In the end, our `DATABASE_URL` environment variable in Vercel will end up looking as follows:
```text
mysql://<username>:<host-url>/<database-name>?sslmode=require&sslaccept=strict&ssclcert=/etc/pki/tls/certs/ca-bundle.crt
mysql://<username>:<password>@<host-url>/<database-name>?sslmode=require&sslaccept=strict&ssclcert=/etc/pki/tls/certs/ca-bundle.crt
```
Finally, the last piece we'll need is necessary to copy the Prisma schema file and Prisma client engines' information to the location of the render function created by Svelte-Kit when we use the Vercel adapter. The following `package.json` snippet was derived from [this wonderful Svelte-Kit & Prisma repository by Mike Nikles](https://github.com/mikenikles/sveltekit-prisma/blob/main/package.json#L13):
Expand Down

0 comments on commit 25d19c9

Please sign in to comment.