Import database to postgresql

I’m working on the baseball project when trying to import the database with postbird, I get that error even after installing postgresql-client-12.

I’ve also tried from the CLI with that command [email protected]:~$ psql -U postgres -d baseball < /home/dev/Document/codecademy/TheBestOfBaseballAwards/baseball_database.sql but it returned that error -bash: /home/dev/Document/codecademy/TheBestOfBaseballAwards/baseball_database.sql: Permission denied .

I’m aware this issues has already been addressed in some threads but none of the solutions provided worked for me.

I’m using postgresql 12.

Thanks for your help!

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.