Hey there, got a question. As I know graphql and prisma are or should be database agnostic. However, I can't figure out a way to connect a prisma service with my normal MySQL Database, running on a normal Apache Webserver.
Is there a way to use "normal" Databases from a "normal" webhoster with prisma or do I need to use something like Google cloud, AWS, etc?
h
Harshit
12/27/2018, 3:34 PM
You can easily connect any supported database to prisma. I believe you are trying to refrence localhost in docker which will not work. You need
host.docker.internel
instead of localhost in docker to refer your local machine
Harshit
12/27/2018, 3:43 PM
If you are having trouble connecting, I can help you personally in a DM conversation
n
Novalis
12/27/2018, 3:51 PM
Hey thanks! However I want to connect prisma to my MySQL Database given through manitu.de . For now I wasn't able to connect my Manitu Database with my prisma service however. So I'm not trying to use a local dB.
h
Harshit
12/27/2018, 3:53 PM
Just verify your machine can connect to the database from a sql gui like sequel pro. Prisma doesn't require any special setup
n
Novalis
12/27/2018, 5:22 PM
Yeah was able to connect via sqlyog. I'll test it again in a few days with prisma. Maybe I misunderstood something :)