How can i perform a remote connect to ClearDB MySQL database on heroku using for example MySQL Query Browser. Where to get url, port, login and password?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In heroku website, go to My Apps and select the app on which you have installed ClearDB.
On the top corner click on Addons and then select ClearDB MySQL Database.
Once there, click on your database and choose the ‘Endpoint Information‘ tab. There you see your username/password. The URL to the database can be acquired by running
heroku config --app <YOUR-APP-NAME>in the command line.In my case, it was something like: mysql://user:pass@us-cdbr-east.cleardb.com/
DATABASE?reconnect=trueWhat you need is this part: us-cdbr-east.cleardb.com