Brian D. McGrew wrote:
I'm am having the hardest time getting PHP to connect to MySQL. From a
command line I can say 'mysql -u root -p' and connect with no problems.
Can't connect to local MySQL server through socket
what do you get with:
mysql -u root -p -S/var/lib/mysql/mysql.sock
chances are you need to tell php where your mysql socket is (through
- Martin Norland, Sys Admin / Database / Web Developer, International
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php