Does prisma only support postgreSQL when using an ...
# orm-help
j
Does prisma only support postgreSQL when using an existing DB? Says it on this page but didn’t think that was the case.. https://www.prisma.io/docs/get-started/01-setting-up-prisma-existing-database-a003/
b
It only supports introspection with Postgres databases... as far as I know that's the specific limitation.
(i.e. scanning the database and automatically generating the datamodel file for you)
n
@jdoyle112 I don't fully understand your question, can you rephrase it?
one way to understand your question is "does Prisma support Postgres when using a new DB". The answer is yes. Let me know if that wasn't your question.
j
@br answered it, thanks anyways
I do have another question if you’re available to help though haha. Sorry for all the questions.
n
To my understanding, @br was saying that Prisma does not support introspection for MySQL yet, which is true. But that doesn't sound like an answer to your question in the way I understood it 🙂
j
I deployed a prisma server to heroku. I used this boilerplate: https://github.com/graphql-boilerplates/node-graphql-server/tree/master/advanced. Here is the live server https://tranquil-fjord-50833.herokuapp.com/
When I try running the login mutation, I get an error message saying “secretOrPrivateKey must have a value”. I do have PRISMA_SECRET defined in my .env file as well as in database/prisma.yml and src/index.js
n
I encourage you to reach out in the Forum: http://www.prisma.io/forum/c/questions 🙂
j
Ok thank you