Changing Font in MySQL Workbench

前端 未结 6 1758
北恋
北恋 2020-12-15 15:47

I am using MySQL Workbench 5.2, the newest version as far as I know, but I simply cannot change the font. It is very inconvenient, because the default font is very small an

相关标签:
6条回答
  • 2020-12-15 16:22

    Well, I just wanted to increase the size of font only because it was too small in my WB 6.1. Referred the link given by 'Kman' and did a bit different thing.

    1)Close WB

    2)Go to, C:\Users\User\AppData\Roaming\MySQL\Workbench\wb_options.xml. Locate "workbench.general.Editor:Font". I got- 'Consolas 10' there and changed it to 'Consolas 13'. That increased font to a comfortable size.

    0 讨论(0)
  • 2020-12-15 16:36

    Only thing you need to do is increase zoom:

    (MySQL: 8.0.12)On a mac computer.

    picture of mysql and an arrow pointing to the zoom tool

    0 讨论(0)
  • 2020-12-15 16:37

    After clean installing MySQL Workbench (WB) 5.2.47 (Windows 7) on a new machine, I wanted the Lucida Console font as I am used to, but for some reason WB chooses a different font for reserved keywords, making the code unreadable. There is no setting for reserved keywords. So I could not easily change this by editing the wp_options.xml file. The only font setting which was acceptable was Courier New.

    Then I went to another machine, and copied wp_options.xml from a WB 5.2.47 which had a history of WB upgrades. That did the trick, it worked fine on the newly installed WB.

    Looking at the both wp_options.xml files in a text diff tool, I noted many differences, but not any that could explain the difference. My conclusion is that Oracle needs to work with UI configuration, as it is not OK that subtle, obscure edits in the wp_options.xml file is what is required to make the WB UI acceptable.

    0 讨论(0)
  • 2020-12-15 16:41

    Similarly for Mac OS X using the hidden path below (ref: this link):

    "You can edit the preferences directly in their XML files. Shut down MWB. Then edit the file ~/Library/Application Support/MySQL/Workbench/wb_options.xml. Look for the key workbench.general.Editor:Font, and change the font there. Now restart MWB to see your change."

    0 讨论(0)
  • 2020-12-15 16:45

    In the

    Edit > Preferences... > Appearance > Fonts section

    of the mentioned version, you can edit the font but you have to slowly double click, as its very wonky (or press enter) and then you manually have to type in the font name followed by a space and font size for example mine states:

    Source Sans Pro 10
    

    Also it requires a program restart.

    0 讨论(0)
  • 2020-12-15 16:46

    Edit -> Preferences... -> Appearance -> Fonts section

    Highlight a row, click ENTER, you can then edit the font and size.

    Restart the app after.

    0 讨论(0)
提交回复
热议问题