2015-07-14 PHP's mysql_connect() has a strange behavior: In the case one tries to open another connection with the same host and login strings, then no additional connection is opened but the previ- ously opened connection is returned. This hit me by surprise to- day. (And because of that I consider it to be a bad design deci- sion.) At least, it is clearly described in the manual. [0] The hacky quick-fix was to use ``127.0.0.1'' instead of ``localhost'' as the hostname. The good solution is to set the fourth parameter to true, as described in the manual. [0] http://php.net/mysql_connect http://marmaro.de/lue/ markus schnalke