Connect MySQL Workbench to fortrabbit
Published
Updated
🐬
The official tool.
MySQL Workbench is the free MySQL GUI from Oracle for macOS, Windows and Linux. Connect it to the database of a fortrabbit environment with Standard TCP/IP over SSH.
MySQL Workbench covers data modeling, SQL development and server administration.
Connection setup
Workbench reaches the database through an SSH tunnel to the environment.
- Open MySQL Workbench and click the + icon to add a new connection.
- Connection Name: Give it a name (for example
My App). - Connection Method: Select
Standard TCP/IP over SSH. - SSH Hostname:
ssh.{{region}}.frbit.app - SSH Username:
{{app-env-id}} - SSH Key File: Browse and select your local private SSH key (for example
~/.ssh/id_ed25519). - MySQL Hostname:
mysql(Do not use localhost or an IP address). - MySQL Server Port:
3306 - Username:
{{app-env-id}} - Password: Click Store in Keychain and enter the database password from the dashboard.
- Default Schema:
{{app-env-id}}
Click Test Connection, then OK to save. When the connection fails, see MySQL troubleshooting.