Quantcast
Channel: a day in the pit » PHP
Viewing all articles
Browse latest Browse all 3

PHP 5.2 mysql_connect w/ same parameters does not return a new connection!

$
0
0
This is subtle... I was writing some "reconnect" logic for a DB Class to catch and handle MySQL error code 2006, Server Gone Away. After a solid 5 hours of wasted time I traced the poor logic on my part back to the mysql_connect() function. I was thrown off track at first when the code [...]

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images