How can I use MySQL Workbench in Kali Linux

Currently my only method of installing MySQL is using Docker to run MySQL-Workbench in a container:

Requirements:

  • Docker
  • This code worked:
sudo docker run -d \
--name=mysql-workbench-host \
--cap-add=IPC_LOCK \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Manila \
-p 3000:3000 \
 -p 3001:3001 \
-v ~/mysql-workbench-config:/config \
--restart unless-stopped \
lscr.io/linuxserver/mysql-workbench:latest
  • Let’s try if this code will work.
    • 2025-June-02
      • sudo docker run -d \ --name=mysql-workbench-host \ --cap-add=IPC_LOCK \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Asia/Manila \ -v ~/mysql-workbench-config:/config \ --network=host \ --restart unless-stopped \ lscr.io/linuxserver/mysql-workbench:latest
        • Yeah this code works
        • Set this container as if it’s the host.
        • set’s network as the host.

1 Like

Ψ§Ψ³Ω…ΨΉvvggggggffffffffffd

This might be a stupid question but have you read this:

hello denartha:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ Configuring mysql-apt-config β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  
 β”‚ The detected system (kali kali-rolling) is not supported by MySQL. If you      β”‚  
 β”‚ believe the platform is compatible with one of the supported systems, one of   β”‚  
 β”‚ the corresponding repositories may be selected.                                β”‚  
 β”‚                                                                                β”‚  
 β”‚ Add repository to unsupported system?                                          β”‚  
 β”‚                                                                                β”‚  
 β”‚                                 ubuntu lunar                                   β”‚  
 β”‚                                ubuntu focal                                    β”‚  
 β”‚                                ubuntu jammy                                    β”‚  
 β”‚                                ubuntu noble                                    β”‚  
 β”‚                                ubuntu oracular                                 β”‚  
 β”‚                                ubuntu plucky                                   β”‚  
 β”‚                                debian bookworm                                 β”‚  
 β”‚                                abort                                           β”‚  
 β”‚                                                                                β”‚  
 β”‚                                                                                β”‚  
 β”‚                                     <Ok>

I selected debian bookworm and I am told to do:

sudo apt-get update

After doing the last step I get this error:

β”Œβ”€β”€(michaelγ‰Ώkali)-[~/Downloads/Softwares/mysql_2_version]
└─$ sudo apt-get install mysql-workbench-community
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package mysql-workbench-community

mysql-workbench-community doesn’t support kali linux.

There’s another way through snap store.

Docker containers are very lightweight, that was the point of them, so keep using that method!

Or learn to communicate with SQL via a command line, it doesn’t have to be too painful, Microsoft released an interactive open source tool for it;