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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [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 02:00:01 2026 UTC