Jump to content


Photo

Importing a postgresql generated SQL file using phppgadmin or something else


  • Please log in to reply
2 replies to this topic

#1 StreamMe

StreamMe

    Advanced Member

  • Members
  • PipPipPip
  • 35 posts

Posted 24 March 2008 - 10:07 AM

Im totally new to postgresql -
I cant for the life of me figure out how to import a sql file that I generated as a backup in PGAdmin III.

Help!

Is there a way to do it with phppgadmin? I know it sounds simple, but I dont see any way to do it, and googlin has turned up nothing of value.

#2 keeB

keeB

    Advanced Member

  • Staff Alumni
  • 1,078 posts
  • LocationCalifornia

Posted 15 April 2008 - 11:09 AM

If you have access to the command line:

psql -d <database> -f <filename> <username>


Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/

#3 alirezahs

alirezahs

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 10 December 2013 - 12:26 PM

hi

i go to sql part and import a sql file but it can't import the file and shows this error:

No server supplied!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com