PHP 4.0 Bug #6698: Resource id #1 on $mysql_link
| From: | domisse at terravirtual dot net | Date: | Wed, 13 Sep 2000 01:55:49 +0000 |
| Subject: | PHP 4.0 Bug #6698: Resource id #1 on $mysql_link | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33054@lists.php.net to get a copy of this message | ||
From: domisse@terravirtual.net
Operating system: Linux 2.2.15
PHP version: 4.0.2
PHP Bug Type: MySQL related
Bug description: Resource id #1 on $mysql_link
I'm trying to check if my MySQL connection work with :
$mysql_link = mysql_connect("195.154.245.142","root","");
print "$mysql_link\n";
Documentation says that $mysql_link should be a int but
i get an "Resource id #1" whatever the connexion is
made or not.
I need to test if i could access MYSql successfuly.
I've seen the bug closed in 4.0.1 but I have still
the problem with 4.0.2
Thanks
Laurent