From:             [EMAIL PROTECTED]
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!!!";


        <? echo "$msg"; ?>


Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to