Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PHP] Cannot export database tables

374 views
Skip to first unread message

Archana K N

unread,
Jun 4, 2012, 5:52:50 AM6/4/12
to
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
--------------------

Hartmut Holzgraefe

unread,
Jun 4, 2012, 6:00:23 AM6/4/12
to
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 (pgsq...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

Archana K N

unread,
Jun 4, 2012, 6:14:22 AM6/4/12
to

Hello,

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

Dimitris Sakellarios

unread,
Jun 4, 2012, 6:15:19 AM6/4/12
to

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: dimitris.sakellarios@telesuite.gr  url: http://www.telesuite.gr


celt...@gmail.com

unread,
Jun 6, 2013, 6:40:27 AM6/6/13
to
> 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.

Просто перезапусти свой браузер !!!

0 new messages