|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-08-23 05:21 UTC] aharvey@php.net
-Status: Open
+Status: Bogus
[2010-08-23 05:21 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
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