<rdf:RDF
    xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
    xmlns:s='http://snipsnap.org/rdf/snip-schema#'
    xml:base='http://bliki.rimuhosting.com/rdf'>
    <s:Snip rdf:about='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver/mysql+php+connection+error'
         s:cUser='retep'
         s:oUser=''
         s:mUser='retep'>
        <s:name>knowledgebase/linux/webserver/mysql php connection error</s:name>
        <s:content>Getting this error? Can&apos;t connect to local MySQL server through socket &apos;/tmp/mysql.sock&apos; (2)&#xD;&#xA;&#xD;&#xA;Check if there is a mysql.sock file at /var/lib/mysql/mysql.sock (rather than in /tmp).  &#xD;&#xA;&#xD;&#xA;If so, change /etc/php.ini from:&#xD;&#xA;mysql.default_socket =&#xD;&#xA;&#xD;&#xA;To:&#xD;&#xA;mysql.default_socket = /var/lib/mysql/mysql.sock&#xD;&#xA;&#xD;&#xA;And restart httpd.&#xD;&#xA;&#xD;&#xA;TODO: This problem has cropped up on a &apos;previously working setup&apos; (not one of mine).  So I&apos;m not sure why there is a change from /tmp to /var/lib/mysql.  New version of mysql?  New version of php?</s:content>
        <s:mTime>2005-09-06 19:16:08.0</s:mTime>
        <s:cTime>2005-09-06 19:16:08.0</s:cTime>
        <s:comments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
        <s:snipLinks>
            <rdf:Bag>
                <rdf:li rdf:resource='#snipsnap-search'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux'/>
                <rdf:li rdf:resource='#snipsnap-index'/>
                <rdf:li rdf:resource='#knowledgebase'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/webserver'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/networking/null route an attackers ip'/>
                <rdf:li rdf:resource='http://bliki.rimuhosting.com/rdf#knowledgebase/linux/miscapplications/phpmyadmin'/>
            </rdf:Bag>
        </s:snipLinks>
        <s:attachments
             rdf:type='http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag'/>
    </s:Snip>
</rdf:RDF>
