OK Guys, I found how to fix the problem.
There was actually nothing wrong. The solution was just to reboot the windows machine. I was reading some message in the internet and they said that they reboot their machine and thinks started to work. I did the same and that did it. that I hate about MS machines..grrr... I am mad also because I forgot that with MS you need to reboot. Thanks for all your help!!! On Mon, Dec 7, 2009 at 4:45 PM, Néstor <[email protected]> wrote: > I am mor econvinced now that it is somthing to do with PHP talking to MYSQL > because I did install one of those packages (wampserver) last Thursday and > it was failing also. My PHP files that do not have any calls to the > database > work but as soon as I use a php file that access myqsl I get that error > message. > > Thanks, > > Nestor :-) > > > On Mon, Dec 7, 2009 at 4:10 PM, David Krings <[email protected]> wrote: > >> Nasir Zubair wrote: >> >>> Just a thought, are your extensions (mysql.dll, etc) working properly? On >>> windows, they can be a pain to configure. >>> >>> >> Which is why I can only second what someone else mentioned before: >> download the package from ApacheFriends and install it. Then make sure that >> everything works. Then replace their htdocs folder with yours, then copy in >> the MySQL databases without overwriting the system databases followed by the >> table update. This approach works well, but has one flaw. I never can manage >> to get the MySQL user accounts and rights to copy over correctly, so I just >> create the few user accounts I have new. You may want to try backup&restore >> instead. Lastly, I uncomment the modules that I need for PHP in the php.ini. >> I keep a list of what I need for the projects that I run. One Apache restart >> later I am up and running. >> >> I use ApacheFriends XAMPP in production use for almost ten years and I can >> only say two things about it: it always works and it is darn easy to set up. >> Sure, I don't learn about the detailed configurations and such, but I am >> happy with outsourcing that to Germany. >> >> David >> >> _______________________________________________ >> New York PHP Users Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/Show-Participation >> > >
_______________________________________________ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/Show-Participation
