Hi
when i execute the following php code in
netscape enterprise server 3.0, solaris 2.6, mysql-3.23.14-alpha-sun-solaris2.6-sparc and php4 -
i am getting a "Lost connection to MySQL server during query" error
# PHP Code
$db = mysql_pconnect($server, $user, $pass);
mysql_select_db("test", $db);
# PHP Code ends here
The case same if i use mysql_connect (or) mysql_pconnect function.
If i remove the second line (ie) the mysql_select_db - i DO NOT get any error
I am able to connect to the mysql server but unable to select any database.
any help is appreciated.
Thanks
venkatesh
when i execute the following php code in
netscape enterprise server 3.0, solaris 2.6, mysql-3.23.14-alpha-sun-solaris2.6-sparc and php4 -
i am getting a "Lost connection to MySQL server during query" error
# PHP Code
$db = mysql_pconnect($server, $user, $pass);
mysql_select_db("test", $db);
# PHP Code ends here
The case same if i use mysql_connect (or) mysql_pconnect function.
If i remove the second line (ie) the mysql_select_db - i DO NOT get any error
I am able to connect to the mysql server but unable to select any database.
any help is appreciated.
Thanks
venkatesh