Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set Default Database connection Mysql Workbench 5.2

I am trying to set a default connection when forward engineering, synchronizing, etc. with MySQL Workbench. I am not sure if this is possible but it would save me some extra clicks. If it can be done on a per model basis that would be excellent. I searched their documentation but could not find it.

like image 403
styks Avatar asked Jul 22 '11 19:07

styks


People also ask

How do I set the default database in MySQL Workbench?

To set a default schema for multiple MySQL Workbench sessions, you must set the default schema for the stored connection. From the home screen, right-click on a MySQL connection, choose Edit Connection, and set the desired default schema on the Default Schema box.

How do I find my MySQL Workbench connection URL?

Connection URL: The connection URL for the mysql database is jdbc:mysql://localhost:3306/sonoo where jdbc is the API, mysql is the database, localhost is the server name on which mysql is running, we may also use IP address, 3306 is the port number and sonoo is the database name.


1 Answers

Well, the closest solution I use is to doubleclick the preferred database in schema list.

like image 79
Valentas Avatar answered Sep 27 '22 20:09

Valentas