I just downloaded the latest version of MySQL Workbench and going to start the server crashes, Any solution?
I had the same problem and made a post about it here:
MySQL Workbench Freezing when Starting/Stopping Server
Unfortunately no one was able to give a solution to how to do it from workbench.
But luckily you can do it from outside the workbench. Open the "Services" app on your PC (I assume you're using Windows, may be worth clarifying...) look for "MySQL80" (or something similar to that depending on your MySQL version), click it, and use the controls there to start and stop your MySQL server.
This can be automated with a Powershell script as well if you're that lazy like me.
services.msc
is a shortcut. MySQL80
is what shows for me after installing MySQL with MySQL Installer 8.0.33. Right click -> Stop to stop the MySQL service. –
Concernment Found how to solve it for myself, hope it will serve others. When installing workbench it doesn't install the mysql server. To install it, run mysql installer (https://dev.mysql.com/downloads/installer/), you can download the slim web installer. After launching it, click the 'Add' button on the right, then go to MySql Servers, select the latest server to install and proceed with wizard to set it up and you should be fine.
The only way to fix the issue is using MySQL Installer
(https://dev.mysql.com/downloads/installer).
Once you 'Remove' and 'Add', it will work (the DB will not be deleted, so no worries)!
No reinstalling magic worked for me, just got rid of 8.0.32, and installed 8.0.11, works fine now. Haven't tested other versions yet.
Sometimes, a syntax error in a User Snippets
file causes the crash.
Try opening the file and see if there are any redundant newlines, etc., especially at the beginning and the end of the file.
The file location on Windows is as follows:
C:\Users\{USERNAME}\AppData\Roaming\MySQL\Workbench\snippets
Just open Mysql installer and reconfigure mysql server again. It works for me
- Search for MySql installer and open that1
2. the reason your database is not working because you dont have mysql server. 3. after opening it, click on "add" then browse for mysql server. 4. select the mysql server that you want to install. Now click on install. 5. After adding that, install it.
if even after not working, then search for Services in your laptop,
- look for MySql80 then enable it
This is happening due to the actual MySQL service being down.
Go to task manager -> Services. Find MySQL80 service and rightClick -> Start. Will take a few seconds to start.
Now when you connect Workbench, it will successfully connect after the password prompt.
The problem occurs as a result of the server running on a different port
from the one the workbench is listening on,
At MySQL connections at home you will see the port your server runs, on enter image description here, Take that port number and adjust it on your MySQL configurator executable which you can find on your start menu,
Or adjust the configuration file itself by changing the TCP/IP port and port to listen on in the file C:\ProgramData\MySQL\MySQL Server 8.4\my.ini
Once you make the changes you're all set
- You can start/stop the server from the Windows services.
If you can't find MySQL in services, you can run the installer again, then select reconfigure on MySQL server, navigate to Windows Service
and enable the Configure MySQL Server as a Windows Service
option.
- You can use an SQL command to shut down the server.
Create a new SQL tab, type shutdown;
and execute the script.
Note: the workbench might try to restart the server, in which case, you will have to quickly close the window after running the script. After that, you can re-open the workbench.
Basically is because there is no mysql installed on your computer. My teacher just told me to download workbench, but forgot completely to say, hey download MYSQL first.. After that, you won't have more crashes, it happened to me.
once is done try again, probably sure it will help you inmediately..
© 2022 - 2025 — McMap. All rights reserved.