Cant connect to mysql server on workbench?

In this post, learn how to fix Can’t connect to MySQL Server. You may get this error while installing MySQL on Windows 10 and opening “MySQL Workbench” for the first time. Below is the exact error.

Error

Following is the error:

Can'tconnect toMySQL Server.MySQL Workbench could notdetect any MySQL running

Fix Can’t connect to MySQL Server Error

Step1: To fix the issue, go to START and type “Services” as shown below:

Cant connect to mysql server on workbench?

Step 2: Now, look for MySQL80 under Services as shown below:

Cant connect to mysql server on workbench?

Right click and Stop MySQL80:

Cant connect to mysql server on workbench?

Step3: After stopping the server, right click again and select Properties:

Cant connect to mysql server on workbench?

Step4: Now, we will reach MySQL80 Properties:

Cant connect to mysql server on workbench?

On clicking Log On, the following Network Service account will be visible:

Cant connect to mysql server on workbench?

Click “Local System Account”, then apply and at last, OK:

Cant connect to mysql server on workbench?

Step5: Right click and START the server as shown below. This will connect to MySQL Server:

Cant connect to mysql server on workbench?

Now, go to start, type “MySQL Workbench” and open it. The same will work.

Follow the below videos for MySQL Server and Workbench:

  • Create a new database and table in MySQL Workbench
  • Create a new database in MySQL

Video Tutorial

If you’d like to see video tutorial and fix the issue, then refer the below video,

If you liked the fix, spread the word and share the link and our website Studyopedia with others.

Support us: DONATE

Read More


  • Fix MySQL Bad Handshake: Failed to Connect to MySQL at 127.0.0.1;3306 with user root
  • How to Fix MySQL ERROR 1045 (28000) Access denied for user [email protected]
  • Fix MySQL No Packages Found – Did not find packages in the current bundle suitable…
  • Resolving Drupal Installation PHP OPcode Caching Not Enabled Warning

Cant connect to mysql server on workbench?

Studyopedia Editorial Staff

[email protected]

We work to create programming tutorials for all.

Can't connect to MySQL server on workbench?

Check the root has rights to connect to 127.0. 0.1 from your address (mysql rights define what clients can connect to the server and from which machines) Make sure you are both providing a password if needed and using the correct password for 127.0. 0.1 connecting from the host address you're connecting from.

Why MySQL server is not connecting?

Here are some reasons the Can't connect to local MySQL server error might occur: mysqld is not running on the local host. Check your operating system's process list to ensure the mysqld process is present. You're running a MySQL server on Windows with many TCP/IP connections to it.

How do I connect to MySQL server in workbench?

Follow these steps:.
Launch MySQL Workbench..
Click the “+” symbol in the “MySQL Connections” tab to add a new connection..
Configure the connection as follows: ... .
Click “Test Connection” to test the connection..
If the connection is successful, click “OK” to save the connection..

Can't start MySQL server workbench?

This issue usually results from an incorrect service name reference. This arises when the MySQL Workbench contains a reference to an older service name (e.g. mysql), whereas MySQL Server 8.0. x uses the service name MySQL80.