Client For Mysql Mac Os
MySQL supports deployment in virtualized environments, subject to Oracle KM Note 249212.1. For further details, please contact the MySQL Sales Team.
Important Platform Support Updates »
- The easiest way would be to install mysql server or workbench, copy the mysql client somewhere, update your path settings and then delete whatever you installed to get the executable in the first place.
- Download MySQL Database Client for Mac - A small yet powerful OS X MySQL database manager that makes it easy for you to configure, manage, and administrate your databases.
Client Mysql Mac Os X
In this post we will learn how to How To Install MySQL on Mac OS X. The same procedure can be used for installing MySQL on Mac OS X. How to add MySQL to $PAT.
8.0 | 5.7 | 5.6 | ||
---|---|---|---|---|
Operating System | Architecture | |||
Oracle Linux / Red Hat / CentOS | ||||
Oracle Linux 8 / Red Hat Enterprise Linux 8 / CentOS 8 | x86_64, ARM 64 | • | ||
Oracle Linux 7 / Red Hat Enterprise Linux 7 / CentOS 7 | ARM 64 | • | ||
Oracle Linux 7 / Red Hat Enterprise Linux 7 / CentOS 7 | x86_64 | • | • | • |
Oracle Linux 6 / Red Hat Enterprise Linux 6 / CentOS 6 | x86_32, x86_64 | • | • | • |
Oracle Solaris | ||||
Solaris 11 (Update 4+) | SPARC_64 | • | • | • |
Canonical | ||||
Ubuntu 20.04 LTS | x86_64 | • | ||
Ubuntu 18.04 LTS | x86_32, x86_64 | • | • | |
Ubuntu 16.04 LTS | x86_32, x86_64 | • | • | |
SUSE | ||||
SUSE Enterprise Linux 15 / OpenSUSE 15 | x86_64 | • | ||
SUSE Enterprise Linux 12 (12.4+) | x86_64 | • | • | • |
Debian | ||||
Debian GNU/Linux 10 | x86_64 | • | • | |
Debian GNU/Linux 9 | x86_32, x86_64 | • | • | • |
Microsoft Windows Server | ||||
Microsoft Windows 2019 Server | x86_64 | • | ||
Microsoft Windows 2016 Server | x86_64 | • | • | • |
Microsoft Windows 2012 Server R2 | x86_64 | • | • | • |
Microsoft Windows | ||||
Microsoft Windows 10 | x86_64 | • | • | |
Apple | ||||
macOS 10.15 | x86_64 | • | ||
FreeBSD | ||||
FreeBSD 12 | x86_64 | • | ||
Various Linux | ||||
Generic Linux (tar format) | x86_32, x86_64, glibc 2.12, libstdc++ 4.4 | • | • | • |
Yum Repo | • | • | • | |
APT Repo | • | • | • | |
SUSE Repo | • | • | • |
I just noticed that when you use the mysql 5 client from MacPorts (installed as /opt/local/bin/mysql5) to connect to a mysql5 server running on localhost that was installed via the package at dev.mysql.com, an error is generated:
Install Mysql Mac Os
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/opt/local/var/run/mysql5/mysqld.sock’ (2)
This is because the installation of mysql 5 server from the mysql site uses /tmp to hold the socket file. Of course if you read the README you’d know this:
“The installation layout is similar to that of a `tar’ file binary
distribution; all MySQL binaries are located in the directory
`/usr/local/mysql/bin’. The MySQL socket file is created as
`/tmp/mysql.sock’ by default.”
I, of course, did not read the README first, and so I wondered what I was doing wrong. The fix is easy, just add
-S /tmp/mysql.sock
Mysql Clients For Mac
to your mysql5 command to use it without any configuration (i.e. changing the location of the socket).