MySQL Workbench could not detect any MySQL server running. This means that MySQL is not installed or is not running.

If you have installed MySQL Workbench on your device (Windows/Mac) and you see the message "could not detect any MySQL server running" that means that the MySQL Server is not running or it has not been installed.


MySQL Workbench could not detect any MySQL server running. This means that MySQL is not installed or is not running

Case 1: If MySQL Server is not installeded

    First thing you can do is try to run the MySQL command in the Terminal and check if it is installed on your device.

    on macOS

    % mysql --version
    
    zsh: command not found: mysql

    If MySQL is not installed, then you can get it installed using the homebrew package manager.

    Starting MySQL Database using XAMPP

    As you can see, I have started the MySQL Database.

    brew install mysql

    Know More: https://formulae.brew.sh/formula/mysql

on Windows

You can run the same command and check if MySQL is installed on your Command Prompt.

C:\ mysql --version

You should also check under C:\Program Files to see you can find MySQL

It can also be the case that MySQL is been installed but the PATH is not set.


Case 2: MySQL Server not running

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!