php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5955 There is no way to query a MySQL server from PHP when there are no databases
Submitted: 2000-08-04 08:22 UTC Modified: 2000-08-04 10:42 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Latest CVS (04/08/2000) OS: Linux RH 6
Private report: No CVE-ID: None
 [2000-08-04 08:22 UTC] mlemos at acm dot org
PHP MySQL API seems to only let queries be executed if you select a
database first.  However, if you need to query a server doing something
like "SELECT VERSION()" and there no databases created in the server
you can't do it from PHP.  This doesn't seem to be a problem when you use
mysql command line tool program.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 10:42 UTC] stas@php.net
closed by user request
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 07:00:02 2026 UTC