After I updated php from 5.3.0 to 5.3.2,
mysql_connect cannot connect localhost but 127.0.0.1.
It shows:
Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in ........
And drivers\etc\hos ts seems good.
Is there anyone knows what happened?
Search Result
Collapse
3 results in 0.0015 seconds.
Keywords
Members
Tags
-
mysql_connect cannot connect localhost
-
xmpp
Is there code snippet for python and xmpp to connect on localhost (127.0.0.1) ie host machine with openfire server running?
It seams to me that xmpp always connect on WAN IP's!
Any help? -
BigAl42 started a topic Auto detect whether code is being executed on localhost [IIS] or ISP web serverin ASP ClassicAuto detect whether code is being executed on localhost [IIS] or ISP web server
My project involves a large number of ASP pages that reference an Access database. I am testing the system first via IIS before publishing it to the web server.
The connection string is specific to the database location i.e. C:/inetepub/.../*.mdb etc for IIS testing and //web/content/.../*.mdb etc for the web server. Therefore I have to edit all of the files before publishing, then edit them back to continue with local deevelopment....