note 42019 deleted from function.mysql-select-db by tomsommer

From: Date: Thu, 29 Apr 2004 16:59:33 +0000
Subject: note 42019 deleted from function.mysql-select-db by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69008@lists.php.net to get a copy of this message
Note Submitter: dwales@easyetrader.com ---- I have just upgraded our database system to:- mysql Ver 12.22 Distrib 4.0.18, for pc-linux (i686) When using mysql_select_db there seems to be an error with the latest mysql, if you do not pass the resource_link or chan which is returned from mysql_pconnect as the second argument the database can get confused as to which db it should be querying. Its looking likely that the mysql_select_db second argument needs to become a mandatory arg and not optional as suggested in the php docs. This was not a problem on older mysql versions, the database was the only component that changed between testing so it has to lie with the latest mysql server version.

« previous php.notes (#69008) next »