I'm having this same problem again... exactly the same problem (read above). I can't get mysql to work.
me wrote:Alright... I am trying to install mysql now. I uncommented "extension=php_mysql.dll" in the php.ini file, set the extension_dir directive to the correct path. I added the php directory to the path environment variable, and of course installed mysql. I also restarted apache. Anything I'm forgetting?
Is the Windows MySQL service started? Or are you starting manually via MS-DOS? Check you can reach the mysql prompt across MS-DOS and run some simple queries. After that it's down to PHP's extensions not copping on to MySQL being started, or the extension options not being registered properly.
Okay, so what versions of everything are you currently trying to install and integrate? What files have you altered (and their alterations) and where were these files located?
Geeze! I uninstalled EVERYTHING and removed EVERY file left over after uninstall. Then I went and downloaded the php zip package (v5.2.1), mysql(v5.0.37), and Apache (v2.0.59), then I installed Apache, then PHP, then Mysql.
Now it works... go figure. I used the installer the first time around because I thought it would be EASIER...