I am running PostgreSQL 9.3 on my machine. I have PhpPgAdmin running on a cloud, using which I exported the database I am supposed to be working on, selecting "Structure and Data" and "Download". There is an sql file generated. On my machine however, I open my PgAdmin3 client , initialize my databases and run the following import command
psql -U postgres -d postgres -f dump.sql
Nothing happens. I also tried
psql postgres < /path/to/dump.sql
But again nothing happens. I tried on both Windows as well as Linux Mint because I thought it was something wrong with my installation on Windows. I am new to PostgreSQL and the equivalent for it in MySQL using PhpMyAdmin was simple. Am I missing any security things? I think not because just so that nothing gets confused, I saved all my names as postgres itself.
I have researched everywhere but nothing so far. Any help would be appreciated. Thanks!
psql
from pgAdmin? At least what you write suggests that. It won't work. You should run it from the command line or open the dump in the pgAdmin query tool and run it from there.