Unable to start mysql 5.6 on Mac - mysql

I installed mysql 5.6 using homebrew but haven't been able to start it/login using Sequel pro.
When I run mysql.server start in the terminal I am getting this error -
ERROR! The server quit without updating PID file
I had installed mysql 8 first,but uninstalled it since I needed 5.6
My prefPane was showing an instance of mysql 8 but not showing any instance now.
The activity monitor isnt showing mysqld so doesn't look like mysql is running.
My OS is High Sierra

I ran into a similar problem on Mojave and the error was around "unknown variable 'mysqlx-bind-address=127.0.0.1'" when I attempted to get 5.6 running using Homebrew. I couldn't figure out how to sort this out so eventually switched to the official Mysql docs and installed version 5.7 using the dmg version and that worked like a charm. (since 5.6 wasn't available for macOS at the time of writing)

Related

MacOS: Unable to run MySQL Workbench

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

need help Installing mysql server v5.6

Installing my SQL for the first time, MySQL server seems to be missing in recommended windows installer. any download i try activates the default installer and it does not show mysql server.
if i try to add server dosen't show up.
Now i have downloaded server 5.6 manually but do not have any way to install them.
i tried to install by steps in this website https://www.sitepoint.com/how-to-install-mysql/
but mysqld didn't run properly. it had following error
Seems none of 8.0 is compatible with previous versions(x86). I had to install server version 5.7 manually(offline installer) with 6.2 workbench for mysql to run on 32bit pc.
i had to uninstall all cleanly or else the default installer would not provide with new packages that i downloaded.
https://downloads.mysql.com/archives/ - all files are here

how to upgrade mysql (innodb) version in xampp under linux OS

i'm using xampp 7.1.8-0 on my "manjaro linux" machine, mysql (innodb) version is 5.6.36-82.1 and l have problems with this version and wanna upgrade to 5.7 version so any suggesions please?!
you can try to reintall higher version on xampp , that would be much easier if package upgrade is not an option,here .
also i found some packages about replacing mysql with MariaDB the Mysql sibling, here.
I am using Ubuntu so i think manual package upgrade should work but if not try to upgrade th xampp higher version to be safe.
update
this is a link to a question about update mysql under linux, Here.
actually i found couple of links about update mysql under xampp but on windows system so i think it is irrelevant to the topic.

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...

How to uninstall MySQL 5.7 installed through MacPorts?

Using this MacPorts guide, I installed MySQL 5.7 on my Mac.
I want to uninstall it now but I can't find any documentation specific to removing just the MySQL server I installed through MacPorts.
I found this guide and others similar to it on how to completely remove MySQL on a Mac, and followed every single step listed.
However, when I issue the command, sudo port load mysql57-server, I can still load the MySQL server.
So how can I completely remove MySQL 5.7 installed through MacPorts?
Turns out, it's really simple - sudo port uninstall mysql57-server.
That removed MySQL 5.7 installed through MacPorts.