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. >From within my PHP script if I say $_connection = mysql_connect('localhost', 'root', 'password') or die(mysql_error()); I get: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) Everytime. Running MySQL 3.28.58 on Fedora Core 3 with PHP 4.3.9. Any ideas? -brian Brian D. McGrew { brian@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx } --- > YOU! Off my planet!