login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

You guys took so long I fixed it myself.
10.4.4 does indeed break things.
/etc/php.ini(.default) looks for mysql.sock in the wrong ...
Code:
... l.sock and then restart apache with "apachectl graceful"

Site stopped working... (10.4.4 upgrade?) - Mambo - A PHP & MySQL Content Management System
http://forum.mamboserver.com/showthread.php?t=70766

Categories

/Channels/techie/MySQL

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

You guys took so long I fixed it myself.

10.4.4 does indeed break things.

/etc/php.ini(.default) looks for mysql.sock in the wrong place... two options are to make a symbolic link from the right place to the socket...
Code:
sudo mkdir /var/mysql
sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
Or you can update your php.ini (.default) by finding "mysql.default_socket" and setting it to equal /private/tmp/mysql.sock and then restart apache with "apachectl graceful"

HTML

You guys took so long I fixed it myself.<br> <br> 10.4.4 does indeed break things.<br> <br> /etc/php.ini(.default) looks for mysql.sock in the wrong place... two options are to make a symbolic link from the right place to the socket...<br> <div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:</div> <pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;">sudo mkdir /var/mysql sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock</pre> </div>Or you can update your php.ini (.default) by finding "mysql.default_socket" and setting it to equal /private/tmp/mysql.sock and then restart apache with "apachectl graceful"