OSX Lion MySql - MIA? - mysql

I hear that OSX LIon does not have MySql packaged...is it true? Ok, no biggie but my question is: what happens if you upgrade from Snow Leopard?
Does it bork all your existing dbs? Is it utter mayhem? Or easy (please say yes!).

I don't believe that Lion comes with a stock MySQL installation, however if you're upgrading from Snow Leopard, Lion should not touch your current MySQL configurations.
However, as always, backing up first is heavily advised.

I upgraded to Lion from Snow Leopard and my MySQL installation seemed to survive just fine. I can merrily browse through my databases with Navicat as before. However, my php/MySQL projects (Drupal, Moodle) and all my Ruby on Rails apps ceased to work. (Haven't investigated enough to comment further on that yet.)
Caution advised, depending on your situation.

Related

Installation of home-assistant-supervised for macOS

I was wondering if anybody knows if it's possible to install a home assistant with docker to the Mac without virtual machines. I've found this topic and it worked for the basic version of home assistant:
https://www.phatpenguin.com/2018/12/hassio-via-docker-on-mac.html?showComment=1635791899259#c6940582515373249537
But I need a supervised version and I can't find if there is the same way, but with a different docker image.
After a month of trying, I could not get a supervised version installed with Docker on my Mac either. Proxmox wasn't an option.
I went with the officially supported VirtualBox install and couldn't be more pleased. It didn't slow down the 8GB of ram on my 2011 Mac Mini, and all of the supervised features work great.

installing the latest MySQL security update on macOS 10.12 Sierra

We're still running MySQL (community server) on macOS 10.12 Sierra (because Apple has gutted later versions of macOS and macOS Server and we don't want to go there just yet). It appears the latest MySQL security updates (October 2018) no longer support macOS with the 5.6.x track. The 5.7.x and 8.x tracks now only list installers for 10.13 High Sierra and 10.14 Mojave.
So, the question is: can you install the latest MySQL 5.7.24 on macOS 10.12 Sierra and will it run without problems?
I'm okay if it's simply "unsupported" and will install but if it specifically won't install/will cause problems I would like to know before upgrading. I've searched the MySQL web site for information on this but there is nothing.
I asked this question on the MySQL forums and got no response. Hope someone here can help.

MYSQL Backward compatible to 5.1.1?

I have a Wordpress site that was developed on a server running the latest version of MYSQL, however, I've just found out the host server (BT) is running 5.1.1. and they have no plans to upgrade anytime soon.
Does anyone know if there is a way of converting the database so it runs on 5.1.1 with no issues caused re the site being built in the latest version of Wordpress?
If this is a massive issue, then I do have some alternative hosting options, but I'm hoping for a way forward re conversion - any geniuses out there?
Many thanks
I doubt that BT is running MySQL 5.1.1. That version was never released. It was an internal development milestone in 2005.
The first GA release of the 5.1 branch was 5.1.30 in 2008. The last 5.1 release was 5.1.73 in 2013. But after 2013, 5.1 has been in "sustaining support" which means they will not make any new versions or fixes.
You shouldn't deploy to a hosting site that still runs any 5.1.x version. A site that is so far behind is probably behind on other software too, and I would not be surprised if they have known security vulnerabilities.
Wordpress officially requires MySQL 5.6 or later, according to https://wordpress.org/about/requirements/.
You could try to test that by testing on MySQL 5.1 (assuming you can find an installation package of MySQL 5.1). Use mysqldump to export data from your 5.6 database server and then import that to MySQL 5.1. The output of mysqldump wraps newer syntax in special comments that will be ignored by older versions of MySQL Server.
Regardless, my recommendation is:
Find another hosting service running MySQL 5.6 or 5.7.
Develop and test your site with the same versions of all software (MySQL, PHP, Apache, etc.) that you will eventually deploy to.

Fresh MySQL Workbench install not responding on Mac OSX Lion

I have a brand new Macbook Pro with Lion (10.7.4) installed and MySQL (5.5.24). The CLI works fine but when I install MySQL Workbench (5.2.40) the UI is unresponsive.
The only response I can get is the Manage Connections will highlight and allow me to select it when the mouse is about an inch above it's correct location.
I can create a new connection as normal and connect to the DB but cannot close the tab.
This behaviour doesn't work with the Data Modelling or Server Administration section.
I'm pretty familiar with MySQL Workbench on Linux but this Mac problem has me flummoxed.
Any help is greatly appreciated.
I had the same problem and was googling for a solution - finding your post as a result. Meanwhile, got the solution myself. Go to /Applications and open info for MySQLWorkbench.app and check there "Open in Low Resolution". It worked for me (a fresh Macbook Pro/Retina#1920x1200).

Which mysql server package should I install?

I posted this question on serverfault but have not received an answer. Maybe someone here can answer this:
I just switched hosts and now have the task of reinstalling everything. I'm on CentOS now and I need to install mysql but have no idea which package to install. I can't seem to find any info on the differences either. Would anyone know? Yum is not an option as it wants to install 5.0.77 and this is too old. The machine is 64 bit.
5.0 is not supported anymore (unless you have a contract). 5.1 is the only GA-version with support, the only option you have for a free MySQL-database with support.