On 22/10/14 06:56 AM,  Roger<are...@bigpond.com> wrote:
Error is: ERROR 2002 Can't connect to local MYSQL through socket
'/tmp/mysql.sock' (2)
  From installation instructions  I did ln -s /tmp/mysql.sock
/private/var/mysql/mysql.sock which is no help.

Error 2002 is usually a permissions/ownership problem. Try:

cd /var/lib/mysql
touch mysql.sock
chown mysql:mysql mysql.sock
chmod 1777 mysql.sock

now make a sym link into /tmp

ln -s /var/lib/mysql/mysql.sock /tmp
then
chmod 1777 /tmp

( These are set in /etc/my.cnf... IF that file exists on a Mac!)

Then stop and re-start the mysql server (mysqld)

/usr/local/mysql/support-files/mysql.server start  starts mysql but I
cannot get it to start on boot.

My wife's MacAir is a black box to me too. I have NO idea how services are started on a Mac. Google may be your friend.
-
             R. Geoffrey Newbury                        

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to