Snip
|
You guys took so long I fixed it myself.
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
sudo mkdir /var/mysql sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
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" |
---|