2016-04-22 33 views
1

所以我想通过以下命令,从我的网站提取数据:不能拉的Heroku数据库到本地

heroku pg:pull DATABASE_URL mylocaldb --app devhaven 

但它喷出了这样的错误:

DL is deprecated please use Fiddle 
! 'createdb' is not recognized as an internal or external command, 
! operable program or batch file. 
! 
! Unable to create new local database. Ensure your local Postgres is working and try again. 

回答

1

你需要做确保1)PostgreSQL已安装并在本地运行,2)PostgreSQL命令行工具位于您的PATH中。关于createdb未被识别的错误表示命令不可用。

相关问题