MacOS: Unable to run MySQL Workbench - mysql

I have been trying to run MySQL workbench on my macOS Catalina 10.15.2 for a long time now. I have been using MySQL from the CLI. But recently when I tried to switch to the workbench, there has been some issue with the launching of the Workbench Application.
MySQL server works well from the CLI. But whenever I try to open the workbench, it opens and closes automatically within seconds. I have tried installing the older version of the workbench and also tried reinstalling the whole SQL server. None of it has helped me so far. I even tried searching the issue, but most issues are related to the crashing of the application or failure of connection with the database.
I have even tried running the application from the command line and also "open in low resolution". But none it has worked for me :/
It'd be very helpful if someone could help me out.
Thanks!
MySQL server: 8.0.19,
MySQL Workbench: 8.0.19

Downloading the 8.0.22 version from https://downloads.mysql.com/archives/workbench/ worked for me, (Im using macOs Big Sur version 11.1)

I was having a similar problem (the workbench not launching) until I clicked on the link to the version 8.0.22 of the mySQL workbench posted by Hando and it works. I use MacOS Catalina. This is the link again https://downloads.mysql.com/archives/workbench/

yes, version .22 worked for me as well. I did get a 'security' error but was able to go into preferences security/privacy, and 'allow' this app which was NOT loaded from the apple app store.

I am using macOS Catalina 10.15.7 and I fixed this issue by downloading MySQL Workbench 8.0.17 and it worked! :)
https://downloads.mysql.com/archives/get/p/8/file/mysql-workbench-community-8.0.17-macos-x86_64.dmg

Related

Tables and views keep on fetching in MYSQL

I am fairly new to MYSQL. I just today installed MYSQL on my Windows 10 computer for my personal learning. I installed mySQL workbench 8.0 and created some tables in the database. But the problem I am facing is the tables, views, stored procedures and functions are keep on fetching. I see some solutions online to run a linux command to resolve the problem. But mine is on windows and not sure where and how to execute the command. Can somebody please help me resolving the problem I am facing with MYSQL.
Just restart your MySQL workbench and problem is solve.
I think those files were written in macOS. When it loaded first time in workbench of windows, load then restart the workbench. Then the problem will be solved
Just close MySQL workbench and restart
it works!
its most probably the same as I used when I learned MySQL from youtube. You just need to restart the workbench. This happens because it was originally in mac.
I had the same issue, just close the workbench window and open again, it most of the cases the problem will be solved.

How to solve MySQL error which occurs while loading image

When I am opening a local connection in MySQL, an error occurring while loading image search_sidebar.png.How can I solve this problem in MySQL? I have attached a screenshot of error showing
I am using MySQL Server 5.7 and MySQL Workbench 6.3 version 6.3.8
To repair without completely re-installing MySQL:
ON Windows 10
Go to Control Panel
Uninstall a Program
Find MySQL (In My Case MySQL Workbench 8.0 CE)
Right Click and select "Repair"
Once installation is complete, please restart MySQL Workbench 8.0 CE
Hopefully this resolves the issue for you.
Fixed by reinstalling and choosing Repair option.
Background
Previously, i upgraded MySQL Workbench from earlier edition to latest version 6.3.10. It worked fine for many days but one fine day after Windows restart it started showing Error while loading image popup. I tried several times closing and starting MySQL Workbench but same popup appears each time.
Solution
I downloaded fresh copy of MySQL Workbench from https://dev.mysql.com/downloads/file/?id=474210 and chose Repair option during installation. My databases and everything else is intact and working as before. Additionally, it resolved popup issue.
Note
There is no need to remove MySQL Workbench, just choosing Repair option during install worked for me.
I have removed Workbench from MySql Installer and Reinstall version 6.3.7
Now working...

MySQL 5.7.14 Community Server Installation stuck on macOS 10.12

While I was installing MySQL 5.7.14 Community Server edition on macOS 10.12 it got stuck at "Running Package Scripts...".
I tried quitting and restarting the installation procedure several times but the same thing happens every time. Please help me!
Well, I ended up deleting 5.7 and installing 5.6. Works great. I’m not sure if that is a solution for you, but it worked great for out needs.

MySQL Workbench incompatible/nonstandard server

I am new to using MySQL and I needed to download it for school, however, I keep getting this error message (picture below). I am using xampp and connecting using the username root. the port also matches what it is telling me. It will let me proceed but a lot of the features are missing. Any help at all would be appreciated.
Incompatible/nonstandard server version or connection protocol
detected (10.0.10).
A connection to this database can be established but some MySQL
Workbench features may not work properly since the database is not
fully compatible with the supported versions of MySQL.
MySQL Workbench is developed and tested for MySQL Server versions 5.1,
5.5, 5.6 and 5.7
As I can see, You are using latest XAMPP.
All you need to do is, after opening MySQL Workbench, and instead of setting up a new connection, Press CTRL+R or click on DATABASE tab in the top menu. Select Reverse Engineer and provide necessary information. You are good to go now.
The MySql workbench wont crash or show any compatibility issue now.
The current version of XAMPP uses MariaDB instead of MySQL.
Because MySQL Workbench is designed to work with MySQL and not with the very similar drop in replacement MariaDB, you are gonna have problems ...
So, if you want to use MySQL Workbench with XAMPP then a solution would be to try installing the last version of XAMPP that uses MySQL. That version is probably 1.8.3 from (August of 2014?). You can download it here:
XAMPP Sourceforge old versions
If you are using the latest XAMPP that uses MariaDB, in that case in your MySQL Workbench don't use 'Connect to Database' instead use 'Reverse Engineer' and provide the necessary credentials. That's all, No hassle.
I encounter the same message followed by a crash of MySQL Workbench, with version 6.3.7 (build 1199).
I didn't find a solution, but here is a work-around:
Once you press the button Continue anyway, just open a database use toto, and then wait a bit (a minute is enough in my case), and then you can call a query without a crash. I found this trick here.
I experimented the same with WAMP 3.2.0.
MariaDB was configured to listen to port 3306 (the usal MySQL port) and MySQL 8 was listening on port 3308. If you are in this case, don't be fooled by the fact you have 2 DBs.
To solve this, you have to choose the DB you want. I wanted MySQL and I just ask MySQLWorkBench to open a connection on port 3308 to MySQL.
You can ditch MySQL Workbench, and use the browser made for the MariaDB, they have a free version here: https://www.upscene.com/downloads/dbw
It's limited in its abilities, but I had no troubles connecting and browsing.
I had the similar problem because i was using Denwer at the same time.
To solve the problem:
Stop Denwer
Restart MySQL server
Profit! Now you can open your database in the Workbench
The idea is that denwer was starting its local server which didnt allow MySQL to start normally.
If you want to use denwer at the same time wth MySQL you can just start it after MySQL (Point 4).
In my case I already had MySql server and workbench installed and setup prior to my XAMPP installation. I wanted to continue with my existing setup.
I also installed MySql server with my XAMPP. I started mysql inside XAMPP and when I connected to MySql Workbench, I encountered the same error. Because Workbench was trying to connect with the server which was installed with XAMPP, apparently this was incompatible.
So I stopped mysql in XAMPP and started started mysql server manually(the previous setup and installed server).
Refer this to know how to start mysql manually in windows.
You can also config XAMPP to use your existing SqlServer.
So I had the same problem. For me none of the methods worked, but then I found out that my MariaDB was occupying the same port, so I uninstalled it and that solved the problem.
i had same issue, i changed the mysql server port from 3306 to 3308 in XAMPP config file.
[mysqld]
port=3308

mysql workbench not show columns - libglib2.0 issue

I installed the new version of ubuntu 14:10 and I ran into the problem of mysql workbench and libglib. There is a guide on how to fix it. I read that you can downgrade libraries but even with synaptic I can solve the problem. Unfortunately, the version 6.2.4 of wb not yet been published.
the solution is explained at this link
https://www.notehub.org/2014/11/6/ok-so-here-is-the-entire-process-first-i
A new release of MySQL Workbench has just been released (6.2.4) which fixes this problem.