Set Dark Theme on MySQL Workbench — Phpflow.com

Parvez Alam
2 min readSep 28, 2022

--

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.

Originally published at https://www.phpflow.com on September 28, 2022.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Parvez Alam
Parvez Alam

Written by Parvez Alam

Hey, I am Parvez Alam. A software developer since 2009. I love learning and sharing knowledge. https://www.phpflow.com/

No responses yet

Write a response