Re: PHP 4.0 Bug #5955: There is no way to query a MySQL server from PHP when there are no databases
| From: | Manuel Lemos | Date: | Fri, 04 Aug 2000 07:39:57 +0000 |
| Subject: | Re: PHP 4.0 Bug #5955: There is no way to query a MySQL server from PHP when there are no databases | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27615@lists.php.net to get a copy of this message | ||
Hello Stefan,
On 04-Aug-00 03:50:47, you wrote:
>I am using SuSe 6.3 and can't confirm your bug. The following
>script works for me:
>mysql_connect($HOST,$USER,$PASS);
>$res = mysql_query("SELECT VERSION()");
>print mysql_result($res, 0, 0);
Please disregard that report. I think I was using mysql_db_query() with an
empty string as database name and expecting it to work.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--