I have tried for 2 days to get PHP 5.2.1 and MySQL 5.0.27 to work together, but it still does not work. I have done the following:
extensions_dir is correctly set
extension=php_mysql.dll have been uncommented, have tried with php_mysqli.dll as well
the extension is in place
libmysql.dll is in the correct place
Before I had all that working correctly I got a message
Call to undefined function mysql_connect() in C:\www\root\testing\testing.php on line 7
But now I have another error that I can't seem to find a solution to anywhere
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\www\root\testing\testing.php on line 7
Please someone, I really could need some help with this one.