Permalink
Browse files

Add possible socket locations for MariaDB via MacPorts.

Also rename Darwinports to MacPorts in comments.
  • Loading branch information...
sebcode committed Aug 30, 2016
1 parent 25e19bf commit 9239b2e6f1a9829b7b4386738133f81b3e7f31da
Showing with 5 additions and 3 deletions.
  1. +5 −3 Frameworks/SPMySQLFramework/Source/SPMySQLConnection.m
@@ -409,9 +409,11 @@ + (NSString *)findSocketPath
@"/Applications/MAMP/tmp/mysql/mysql.sock", // MAMP default location
@"/Applications/xampp/xamppfiles/var/mysql/mysql.sock", // XAMPP default location
@"/var/mysql/mysql.sock", // Mac OS X Server default
@"/opt/local/var/run/mysqld/mysqld.sock", // Darwinports MySQL
@"/opt/local/var/run/mysql4/mysqld.sock", // Darwinports MySQL 4
@"/opt/local/var/run/mysql5/mysqld.sock", // Darwinports MySQL 5
@"/opt/local/var/run/mysqld/mysqld.sock", // MacPorts MySQL
@"/opt/local/var/run/mysql4/mysqld.sock", // MacPorts MySQL 4
@"/opt/local/var/run/mysql5/mysqld.sock", // MacPorts MySQL 5
@"/opt/local/var/run/mariadb-10.0/mysqld.sock", // MacPorts MariaDB 10.0
@"/opt/local/var/run/mariadb-10.1/mysqld.sock", // MacPorts MariaDB 11.0
@"/usr/local/zend/mysql/tmp/mysql.sock", // Zend Server CE (see Issue #1251)
@"/var/run/mysqld/mysqld.sock", // As used on Debian/Gentoo
@"/var/tmp/mysql.sock", // As used on FreeBSD

0 comments on commit 9239b2e

Please sign in to comment.