Anyone know why when I grab the file:

Mac OS X 10.5 (x86_64)

from:

http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg

and install via the PKG installer, I am getting a 32bit install (or so says the Preference Pane)?

UPDATE: it's not the 32bitness whichi si in question - that was a PrefPane problem. Now, the mysql.sock isn't getting created. Did a "find" on the HDD and can't find it. Not in /var or /tmp. Any ideas?

link|improve this question
Is your system 64 bit capable? Are you using snow leopard? – Sam Oct 1 '09 at 8:45
Yes, I am running snow leopard, and have solved the problem of the Pref Pane - pref pane says 32 bit. My issue now is that mysql.sock never gets created and is nowhere to be found. Ugh. – BrandonWatson Oct 1 '09 at 14:43
feedback

4 Answers

What does Activity Monitor show? Mine's been showing as a 64 bit app since installing it on Leopard, even though the preference pane has it listed as 32 bit.

link|improve this answer
With the edit to the question my answer is no longer relevant. However, the modified question is ringing some belles in my head. I'm pretty sure I had the same problem way back but can't recall what I did to fix it. FWIW, I also don't have mysql.sock on my Mac, even though mysqld is running and working properly. – John Gardeniers Oct 1 '09 at 21:30
how did you get MySQL to start? Mine fails because a connection cannot be made to mysql.sock – BrandonWatson Oct 2 '09 at 4:19
If I remember or find the reference that I used I'll certainly let you know but that was a while back and my memory is quite a bit less than perfect. – John Gardeniers Oct 2 '09 at 4:36
feedback

The preference pane is 32bit, the actual MySQL software is 64bit. It's annoying because the build is not specifically for 10.6 but is intended for 10.4 and 10.5. I could only get MySQL started by installing mysql-5.4.1-beta-osx10.5-x86_64 instead of the 5.1 non-beta.

link|improve this answer
feedback

Does running touch /tmp/mysql.sock allow it to start?

link|improve this answer
feedback

The socket file mysql.sock is created when you start up mysqld... /usr/local/mysql/support-files/mysql.server start. The socket file should be created in the /tmp/ directory by default.

I had the same issue and more... the way I got rid of the socket problem was by renaming my config file /etc/my.cnf so that it won't be loaded by MySQL. My config file is simple but if yours is complicated, try commenting out the lines that look like socket = /some_path/.

Hope that helps.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.