user3239126
user3239126

Reputation:

Turning Off Default Schema in MySQL WorkBench

I accidentally clicked on "Set as Default Schema" button and it turned the database name into bold black in color. How do I switch it back to the normal one? Please advise.

Upvotes: 10

Views: 7746

Answers (2)

arjunj
arjunj

Reputation: 1516

You can edit the connection and under the Advanced tab there is textbox called Others. Remove the following line: DbSqlEditor:LastDefaultSchema=the_default_schema

I am using MySQL workbench 6.4.

Upvotes: 10

Mike Lischke
Mike Lischke

Reputation: 53317

There's no "normal" case. You can quickly switch the default schema by double clicking on the schema node in the tree. But if you really want no default schema create a dummy one, make that the default and delete it.

Upvotes: 8

Related Questions