How to uninstall MySQL 5.7 installed through MacPorts? - mysql

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.

Related

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

Unable to start mysql 5.6 on Mac

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)

A little different than ordinary case of MySQL and xampp

I've been struggling with this problem for quite some time, I downloaded
'MySQL server' and 'workbench' and installed them, later I downloaded xampp and now there is a problem that xampp comes with its own mysql and is not able to trace my already installed version, So I want to give xampp the path to my already installed MySQL. I tried installing xampp with its own mysql but there was a conflict for ports between the two - sql(that came with xampp) and my MySQL.

How can i install mysql again as i installed workbench mistakenlt once?

I installed mysql workbench mistakenly. but now i can't install mysql community server. Please tell me how to do it?
I doubt that MySQL Workbench's installation really prevents you from installing a MySQL server. There must be a different problem. Use the MySQL Installer for Windows, which gives you everything you need related to MySQL. It should also recognize the installed WB and offer you updates, if there are any.
It is better to uninstall workbench and then setup community server.
If you are doing this in windows

How do I update MySQL installed with Homebrew on a Mac

I've installed MySQL on a Mac via brew.
I do constant brew updates but MySQL keeps telling me it has a new version.
Does brew update not update MySQL?
If so then how should I do it? Manually?
No, brew update only updates Homebrew itself including retrieving the latest list of formulas/packages available.
Once you have ran brew update you can then upgrade all formulas/packages using:
brew upgrade
To upgrade a particular package you can use the brew upgrade command like:
brew upgrade mysql
Before running an upgrade you may want to know what can be or is going to be upgraded using the command:
brew outdated
NOTE always remember to read the post install/upgrade notes that are output. Some packages require manual steps post install/upgrade like major database version upgrades often require data upgrade/migration procedures to be run.