Bug #52672 [Opn->Bgs]: selecting a MySQL database
| From: | aharvey@php.net | Date: | Mon, 23 Aug 2010 03:21:55 +0000 |
| Subject: | Bug #52672 [Opn->Bgs]: selecting a MySQL database | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153708@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52672&edit=1
ID: 52672
Updated by: aharvey@php.net
Reported by: ahowe at frii dot com
Summary: selecting a MySQL database
-Status: Open
+Status: Bogus
Type: Bug
Package: Session related
Operating System: Windows XP
PHP Version: 5.2.14
Block user comment: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2010-08-23 01:13:16] ahowe at frii dot com
Description:
------------
These statements will not return true on the mysql_select_db
Is there something I need to do in MySQL to make sure the database is
selectable.
The connect statement works, the mysql_select_db statement fails.
Test script:
---------------
//
$link = mysql_connect('localhost','vlf','vlf') or die ("connect
problem");
$db = mysql_select_db('vlf',$link) or die ("false DB");
Expected result:
----------------
select the database from MySQL
Actual result:
--------------
false db
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52672&edit=1