graphjin icon indicating copy to clipboard operation
graphjin copied to clipboard

I can't connect my local postgres database

Open brianwang opened this issue 4 years ago • 1 comments

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 .

image

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).

  1. 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.

  2. I using command graphjin db migrate new alter_user_addtoken and get the error output. database ping: failed to connect to image

  3. I also new create a folder for test and it does not help

  4. I think I should try another database?

Expected behaviour and actual result.

brianwang avatar Oct 13 '21 10:10 brianwang

Try upgrading graphjin to the newest version and use --db-url option

See for more details here https://github.com/dosco/graphjin/issues/382

gevera avatar Sep 23 '22 20:09 gevera