Cannot export database tables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot export database tables

Archana K N
Hello,

I am getting this error when trying export the tables from database.
"Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog."

I am using windows and changed my path to "C:\Program Files\PostgreSQL\9.1\bin\pg_dump". Then also it is showing the same error.


--
-------------------
regards
archana
--------------------
Reply | Threaded
Open this post in threaded view
|

Re: Cannot export database tables

Hartmut Holzgraefe
On 04.06.2012 11:52, Archana K N wrote:

> "Export error: Failed to execute pg_dump (given path in your
> conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your
> configuration and relog."
>
> I am using windows and changed my path to "C:\Program
> Files\PostgreSQL\9.1\bin\pg_dump". Then also it is showing the same error.

is it still showing "/usr/bin/pg_dump" or the new "C:\..." path in the
error message?

PS: As this actually seems to be a problem a phpPgAdmin specific
    problem and not a problem with the PHP configuration (in php.ini
    and friends) itself you may actually want to get help from the
    phpPgAdmin community on

      http://phppgadmin.sourceforge.net/doku.php?id=getting_help

    instead?

--
hartmut


--
Sent via pgsql-php mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
Reply | Threaded
Open this post in threaded view
|

Re: Cannot export database tables

Archana K N

Hello,

 It is still showing the same error even after changing the path.



--
-------------------
regards
archana
--------------------
Reply | Threaded
Open this post in threaded view
|

Re: Cannot export database tables

dimitris.sakellarios
In reply to this post by Archana K N

Dear Archana,

 

If you are using pgAdminIII run it and go to “file -> open -> options”

There define the correct path for the pg_dump.exe executable in the PG bin path like C:\Program Files\pgAdmin III\1.8 if you are using 1.8 version else your version.

 

BR,

 

 

Sakellarios Dimitris

Telesuite ltd Telecommunication and Internet Services

Address : T. Sofouli 14, Post Code 16344, Ilioupoli - Athens, Greece

T.: +30 211 760 1300 F.: +30 211 176 9999 M.: +30 6982 550 850 e-mail: [hidden email]  url: http://www.telesuite.gr


From: [hidden email] [mailto:[hidden email]] On Behalf Of Archana K N
Sent: Monday, June 04, 2012 12:53 PM
To: [hidden email]
Subject: [PHP] Cannot export database tables

 

Hello,

I am getting this error when trying export the tables from database.
"Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog."

I am using windows and changed my path to "C:\Program Files\PostgreSQL\9.1\bin\pg_dump". Then also it is showing the same error.


--
-------------------
regards
archana
--------------------