heroku/heroku — Issue #183: Problem pulling DB from heroku
Author: vinaymehta
Created: 2011-11-16 06:13:32+00:00
State: open

I created a new Database newdb and run following command

heroku db:pull mysql://root:mypassword@localhost/newdb
but it shows error

Warning: Data in the database 'mysql://root:mypassword@localhost/mydb1' will be overwritten and will not be recoverable.
No app specified.
Run this command from an app folder or specify which app to use with --app

and when i specify app name as heroku db:pull mysql://root:mypassword@localhost --app
then it says

bash: syntax error near unexpected token `newline'

How to resolve this??....Please help...!!!!!