AFP548

AHHH NO mysql.sock!!!! help?!

Hello I recently inherited a Mac OSX Xserve at my job and decided that I would like to run mysql on it. After poking around a little it looks like someone tried to remove the default 4.x.x install of mysql that comes with OSX server. in /var there is a folder named .mysqlold which is empty (I am assuming this is the old mysql directory). I could not find mysql anywhere else on the box, worse yet I could not find mysql.sock anywhere on the box. So I decided to simply go to the mysql stite and download a new mysql binary, so I went ahead and downloaded the mysql build for PPC 64 bit (as my dual G5 xserve should be able to use the 64 bit binary). I go about instsalling the dmg as normal, and it unpacks inside /usr/local/$MYSQLDIR. after cd ing into the directory I notice a ./configure script there so I decide to ./configure --help just to see why that's even there (as the build is binary and not source). The build then informs me that it's going to start mysql. I go ahead and do a quick ps aux|grep mysql just to make sure and am greeted with. [i]root 26832 0.0 -0.0 27808 688 p1 S 3:39PM 0:00.03 /bin/sh ./bin/mysqld_safe --no-defaults mysql 26848 0.0 -1.0 92108 20436 p1 S 3:39PM 0:00.13 /usr/local/mysql-standard-5.0.27-osx10.4-powerpc-64bit/bin/mysqld --no-defaults --basedir[/i] looks like it's running to me, however I still cannot connect to the server since there is no mysql.sock. Does anyone know how to create a new one? I checked $MYSQLDIR/bin/mysqld --verbose --help but didn't come up with much other then some info that lead me to belive that the socket location was still pointing to /var/mysql/mysql.sock. any help would be most appreciated.
Exit mobile version