LAMP之路

不积跬步,无以至千里!

phpPgAdmin导出数据库Export error: Failed to execute pg_dump

2012-10-18 一抹阳光 数据库

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.

 

解决办法:

修改phpPgAdmin的conf/config.inc.php文件

$conf['servers'][0]['pg_dump_path'] = ‘E:/LAMP/PostgreSQL8.3/bin/pg_dump’;
$conf['servers'][0]['pg_dumpall_path'] = ‘E:/LAMP/PostgreSQL8.3/bin/pg_dumpall’;

重启浏览器。