In what directories are those programs installed? For some reason Win7 can behave oddly if you install them in the program files folder (or program files (x68) for that matter)
Also, do you have a firewall running? If so, does it work if you disable the firewall?
Note that windows 7 runs a firewall by default if I’m not mistaken. Also take a look at that one.
PHP is in C:\PHP5
Mysql is in C:\Program Files\MySQl\MySQL server 5.5
Where would you recommend moving it to?
My Win7 firewall is off but I have a 3rd party firewall that I will check to make sure there is an exception to.
I do remember checking a “create exception in firewall” box during mysql configuration though.
Edit**
mysql.exe already has a full permission in my firewall
I tried using the port number but it still did not work.
I think that the problem may lie in php not recognized the function as opposed to the SQL syntax being wrong.
However I am up to try anything at this point.
Normally removing the ; in ;extension=php_mysql.dll in php.ini should do it.
Is the extension path set correctly in php.ini and does php_mysql.dll exist within that path?
My extension dir was not set in the php.ini file, but i fixed that.
Unfortunately it still does not work. However i noticed an include path that was just above the ext path, commented out and empty, could that have anything to do with it?
Also looking at the extensions, the details for the extensions show that my php_mysql.dll is listed as version 5.1.2.2 whereas the rest of the extensions are 5.3.0.
This is most likely because I downloaded the file off of the internet when I found that it was missing.
However, I cannot find a newer version. If somebody can, please provide me with a link.