And for more testimonies, sinse i fear im getting absolutely no credit for having any knowledge of mysql and php.. :P (i say that in jest of coarse) search this in google and see how many people fixed the very problem by disabling or adjusting the firewall.
http://www.google.ca/search?hl=en&ie=UTF-8&q=mysql+firewall+localhost&btnG=Search&meta= Cheers, and good luck Jason "Jason Davidson" <[EMAIL PROTECTED]> wrote: > > ok, well, i just posted a link for you to check out, it gives insight on > how mysql connects on different platforms, this will of use to you i > think, the last few bullets in the page i linked to are of some > importance to your error msg which says, cant connect to localhost, and > not, cant connect through socket... > > again, link,, > http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html > > Jason > > "Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > > > The firewall I am using is ZoneAlarm, the free version. I am nearly certain > > that it does not allow specific ports to be opened, at least not for > > specific addresses. So if this were a requirement, probably many others > > would have that specific problem. > > > > However if nothing else works, I will try to look into this further when I > > have time. At the moment I must spend time on something else. > > > > > > "Jason Davidson" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > The webpage of coarse, is not local, regardless of where its hosted, so > > > a firewall will come into play when trying to connect. > > > You dont have disable it, i should have been specifc i suppose, you must > > > allow for the mysql port to be open. :) > > > Whats for others to confirm, try it yourself and see if it works. > > > > > > Jason > > > > > > "Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > >> > > >> "Jason Davidson" <[EMAIL PROTECTED]> wrote in message > > >> news:[EMAIL PROTECTED] > > >> > Windows XP Firewall, or any other firewall for that matter must be off. > > >> > Jason > > >> > > >> Can someone else confirm that this is correct? > > >> > > >> For one thing, when I use MySQL directly outside of a web page, it works. > > >> The sample C program works. > > >> > > >> For another thing, I doubt very immensely that everyone using > > >> mysql_connect > > >> does not use a firewall. Even if anyone else does, I will not. It would > > >> have > > >> been quite unreasonable for the developers of PHP to develop software > > >> with > > >> that requirement, but I doubt it was. > > >> > > >> -- > > >> PHP General Mailing List (http://www.php.net/) > > >> To unsubscribe, visit: http://www.php.net/unsub.php > > >> > > >> > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php