0

I have created cleardb on heroku, I want to push my mysql database on local disk to heroku. I have mysql workbench installed. How can i push it to heroku ?

1

2 Answers 2

1

look at the output of heroku config - you will see an key called CLEARDB_DATABASE_URL this is the connection string your application uses to talk to your database.

You can take this URL and break it up into it's constituent parts to get a username, password, host, port and database name which you can use in a connection via mysql workbench.

See https://devcenter.heroku.com/articles/cleardb for further reference.

Sign up to request clarification or add additional context in comments.

2 Comments

Yes I know the CLEARDB_DATABASE_URL. Can you give more detailed insight into establishing connection via mysql workbench
I worked on phpmyadmin. I switched to mysql workbench for this purpose only
0

If u want to just push your database, use console, it's simple:

heroku db:push

3 Comments

How can I get one console on my windows running? I have always worked with phpmyadmin in wamp server
E.g if you use TotalCommander then navigate to the root directory of your app. Type cmd and press enter. You will get a console. Maybe you have to install heroku toolbelt. toolbelt.heroku.com
This feature has been deprecated - blog.heroku.com/archives/2009/3/18/….

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.