Closed YasserCherfaoui closed 4 weeks ago
If you're connecting with db using default role( your host username ) the shorthand psql db < dump.sql
command should work.
I guess you can also specify username with this command psql -U username db < dump.sql
, but if you need more control, your suggestion is better option. JAK for your contribution.
I tried running the command
but it didn't work so I tried another way and it worked, so I thought about sharing it. I will add other tips that helped me in running the project successfully. PS: I'm running the project on M1 Pro.