Some of you may be familiar with CMS solutions like Mambo and Joomla. Very cool, very easy to set up etc. Until you get to Tiger.
Well go to do that on a Tiger Server and am running into an issue between PHP and MySQL. I can login into MySQL, create a database, assign privs etc. When I got to link the db to Joomla, the PHP says the username and password are wrong.
This is using MySQL 4.1 and the default install of PHP on 10.4.3. I came across some postings about the socket location changing from /tmp to /etc, but nothing real concrete. One suggestion was to move to PHP5.
Any thoughts?
Read on for thoughts on a solution…Your thoughts on the socket are heading in the right direction. What you’re actually missing, I believe, is in your /etc/php.ini file.
Look for the line in /etc/php.ini which currently probably looks like:
<code> mysql.default_socket = </code>
This should be changed to read something like this:
<code> mysql.default_socket = /var/mysql/mysql.sock </code>