Needing some desperate help with this issue, pleas...
# orm-help
p
Needing some desperate help with this issue, please take a look and help me out. https://github.com/prismagraphql/prisma/issues/2636
😭 1
t
docker doesnt recognize localhost
in your
docker-compose
change
host: localhost
to host: host.docker.internal
p
Same problem
Still getting the same issue with this changed.
Same problem if i also replace it with 127.0.0.1
t
it needs to be
host: host.docker.internal
, did you run
docker-compose up -d
after the change?
p
Yes, i ran docker-compose up -d
i also ran docker-compose down -v
after the change
I am not on a mac
or widnows
i am on ubuntu
t
hm and the db credentials are correct?
p
yes
wait
what do you mean?
that docker file defines the credentials
i do not have a mysql instance running at all
i am letting docker start it
or at least, that is how i thought it worked
t
yeah it is, but you could probably confirm it by using a GUI or command line tool to connect to the mysql that docker started
p
ok
how do i connect to the database that is created by docker?
t
haven’t worked with mysql, but don’t you usually provide the connection string and the credentials via some command line tool or GUI
p
My password had illegal characters. After fixing that issue it seems to be working now. ty