[Heroku + MySQL Workbench] Remote connection to Heroku ClearDB by using MySQL Workbench
Sometime you might want to dump some tables or database from the mysql database. If you using heroku, you can not find the graphy interface like phpMyAdmin. Therefore you need to use other tools to help you finish this task.
I am using MySQL workbench, which you can donwload here (window) and install it.
For example, what I want is dump tables:
1. Login your heroku, and click ClearDB, go to dashboard.
2. Select the database you want.
3. Go to the 'endpoint information' tab, from there you can find the username and password for login database.
4. From the command line, login your heroku, type:
heroku config --app <your_app_name>
You should look for the stuff after '@':
mysql: XXXXXXXXX@eu-xxxxx-weat-07.com
then
eu-xxxxx-weat-07.com
This is the remote connect addreess.
5. Now, you have username, password and address, open workbench:
6. Create new Instance.
7 Mnage Import / Export on the instance you just create
相关文章
- Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
- to mysql桥梁建设:从Oracle到MySQL的迁移之路(链接器oracle)
- MySQL添加新用户并分配权限(mysql添加用户并设置权限)
- MySQL连接缓慢:解决方案(mysql连接很慢)
- MySQL在PHP中的灵活运用(php中的mysql)
- 管理 MySQL 事务与过程管理之旅.(mysql过程事物)
- MySQL安装与使用指南(mysql的安装使用)
- MySQL 大表优化:如何删除数据(mysql大表删除数据)
- 约束MySQL数据库中建表及设置主键约束(mysql建表主键)
- 使用CI框架快速连接MySQL数据库(ci连接mysql)
- 如何轻松地删除MySQL中的数据(mysql删除表里的数据)
- MySQL查询与修改实践指南(mysql查询修改)
- Maximizing Database Efficiency: How to Optimize Your MySQL External Links(mysql外联)
- Efficiently Split Data with MySQL: Your Guide to Extracting Data Segments(mysql取分割数据)
- Exploring MySQL Column Information: Everything You Need to Know(mysql列信息)
- Top 10 Rows from MySQL A Quick Guide to Retrieving Data(mysql前十条数据)
- Learn How to Install MySQL Using Wget in 5 Easy Steps(wget安装mysql)
- Efficient MySQL Queries: How to Retrieve Partial Data Fields.(mysql查询部分字段)
- Effortlessly Migrate Your Data: A Guide to Converting MS SQL to MySQL(mssql转换mysql)
- 查看MySQL用户名:详解步骤(查看mysql 用户名)
- MySQL数据入库从C程序开始(c mysql数据入库)
- MySQL的三层模式,你知道叫什么名字吗(mysql三层模式的名称)
- MySQL下载收费如何解决开源数据库的成本问题(mysql下载收费)
- GET MYSQL 免费下载并破解MySQL数据库软件(mysql下载和破解)
- MySQL轻松实现无外键设计(mysql 不用外键)