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!!!";
        }
?>
<html>
<head>
        <title>Untitled</title>
</head>

<body>

        <? echo "$msg"; ?>

</body>
</html>





-- 
Edit Bug report at: http://bugs.php.net/?id=9135&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
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