Where is '/var/mysql/mysql.sock'
Posted: Sun Sep 13, 2009 9:57 pm
I've successfully (I think) installed CMS Made Simple 1.6.5 on my OS X, 10.4.11, machine running apache 1 and php 4 (Just above the minimum requirements). Everything is ready with chmod 777, I believe. After finishing installation, I go to the admin page, but cannot get to log in with this error:
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
OK, I'm actually running MySql on usr/local/ where my Rails apps are able to find it. I see the mysql.sock is here: /tmp/mysql.sock
It seems like an environment variable is needed to be altered, but when I searched through all my cms made simple files for 'var/mysql/mysql.sock' I come up with nothing.
So this is where I am, how can I get cms mades simple to find my mysql port? I've got a database set up called cms and have a user with all privileges called 'cms_user'
What should I do to find my MySql db? I want to test it on my machine before I deploy to a working website, thanx, sam
Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'
OK, I'm actually running MySql on usr/local/ where my Rails apps are able to find it. I see the mysql.sock is here: /tmp/mysql.sock
It seems like an environment variable is needed to be altered, but when I searched through all my cms made simple files for 'var/mysql/mysql.sock' I come up with nothing.
So this is where I am, how can I get cms mades simple to find my mysql port? I've got a database set up called cms and have a user with all privileges called 'cms_user'
What should I do to find my MySql db? I want to test it on my machine before I deploy to a working website, thanx, sam