Page 2 of 2
Posted: Wed Mar 28, 2007 3:30 am
by Luke
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?
Posted: Wed Mar 28, 2007 8:26 am
by feyd
Did you use an installer or the zip?
Posted: Wed Mar 28, 2007 11:43 am
by Maugrim_The_Reaper
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.
Posted: Thu Mar 29, 2007 1:28 pm
by Luke
@feyd: I used the installer
@Maugrim It is started
Posted: Thu Mar 29, 2007 1:56 pm
by neel_basu
Try To Make Sure That There Is A "php_mysql.dll" File in that folder where all of the dll files are
Posted: Thu Mar 29, 2007 2:10 pm
by Luke
there is
Posted: Thu Mar 29, 2007 5:12 pm
by feyd
Retry using the zip? (You may need to uninstall first.)
Posted: Thu Mar 29, 2007 5:27 pm
by Luke
yup tried that too. I also tried installing mysql version 4 instead of 5, still no go.
Posted: Thu Mar 29, 2007 5:29 pm
by feyd
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?
Posted: Fri Mar 30, 2007 12:08 am
by Luke
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...

Posted: Fri Mar 30, 2007 12:15 am
by feyd
I've yet to see any evidence that the installer works properly from anyone.
