Hey there, got a question. As I know graphql and p...
# orm-help
n
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
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
If you are having trouble connecting, I can help you personally in a DM conversation
n
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
Just verify your machine can connect to the database from a sql gui like sequel pro. Prisma doesn't require any special setup
n
Yeah was able to connect via sqlyog. I'll test it again in a few days with prisma. Maybe I misunderstood something :)