Set Dark Theme on MySQL Workbench

in this tutorial, we’ll learn How to enable MySQL Workbench dark theme on Windows and Linux. Only macOS and Linux support dark themes in MySQL Workbench.

This tutorial will help you enable the dark theme on MySQL Workbench for Windows and Linux.

How To Enable MySQL Workbench dark theme on Windows

Only versions 8.0.26 or later are supported by the MySQL Workbench dark theme.

You need manually update the XML file in the responsibility of changing the colors in MySQL Workbench in order to enable the dark theme.

The color scheme for the Workbench code editor is kept in a file called code_editor.xml. The file location is:

C:\Program Files\MySQL\MySQLWorkbenchX.X\data\code_editor.xml

The mleandrojr has been created as a dark theme and shared into github

https://github.com/mleandrojr/mysql-workbench-dark-theme

We need to replace code_editor.xml file in your computer with the one from the repository above. This only changes the code editor area instead of all workbench.

Let’s restart MySQL Workbench to see the changes:

How To Enable MySQL Workbench dark theme on Linux Ubuntu

You must enable the dark appearance option in Ubuntu and manually alter the code_ditor.xml file in order to make MySQL Workbench for Ubuntu use the dark theme.

Navigate to Settings -> Appearance tab in Ubuntu and select the Dark option as shown below:

Let’s replace code_editor.xml file, Open the code_editor.xml file from the Linux system. The file location:

/usr/share/mysql-workbench/data/code_editor.xml

create a backup of the code_editor.xml file:

sudo cp code_editor.xml code_editor.xml.bak

The mleandrojr has been created a dark theme and shared into github as like windows:

https://github.com/mleandrojr/mysql-workbench-dark-theme

We need to replace code_editor.xml file from your Linux system with the one from the repository above.

Leave a Reply

Your email address will not be published. Required fields are marked *