graphjin
graphjin copied to clipboard
I can't connect my local postgres database
What version of GraphJin are you using? graphjin version
I am using go install version on my Windows 10 pc
go get github.com/dosco/graphjin
so currently , there is not a version .

Have you tried reproducing the issue with the latest release?
Not yet. I have no idea how to compile it on windows.
What is the hardware spec (RAM, OS)?
64G Ram and Windows 10
Steps to reproduce the issue (config used to run GraphJin).
-
In my config folder, I create dev.yml and prod.yml with my local Postgres Version14 database, and with PG Admin4,it can connect it.
-
I using command
graphjin db migrate new alter_user_addtokenand get the error output.database ping: failed to connect to
-
I also new create a folder for test and it does not help
-
I think I should try another database?
Expected behaviour and actual result.
Try upgrading graphjin to the newest version and use --db-url option
See for more details here https://github.com/dosco/graphjin/issues/382