PHP 4.0 Bug #9135: Could not establish connection

From: Date: Tue, 06 Feb 2001 21:54:54 +0000
Subject: PHP 4.0 Bug #9135: Could not establish connection
Groups: php.dev 
Request: Send a blank email to php-dev+get-45877@lists.php.net to get a copy of this message
From: mita@zelcom.com Operating system: windows nt PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: Could not establish connection I inserted a row in mysql database - user table with host = localhost:8080. I am running my apache server on port 8080. The insertion was successful. If I try to connect mysql using php script, I am getting a message - connection to mysql server is lost. Below is my php script: <? $connection = mysql_pconnect("localhost:8080") or die("Could not connect"); if ($connection) { $msg = "Success!!!"; } ?> <html> <head> <title>Untitled</title> </head> <body> <? echo "$msg"; ?> </body> </html> -- Edit Bug report at: http://bugs.php.net/?id=9135&edit=1

« previous php.dev (#45877) next »