Bug #15336 Updated: New mysql function: mysql_real_connect

From: Date: Tue, 16 Jul 2002 07:30:30 +0000
Subject: Bug #15336 Updated: New mysql function: mysql_real_connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14290@lists.php.net to get a copy of this message
ID: 15336 Updated by: georg@php.net Reported By: georg@php.net -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: any PHP Version: 4.1.1 Assigned To: zak New Comment: Nahh... forget it. It won't work with persistent connections. I withdraw the feature request (bogus) Previous Comments: ------------------------------------------------------------------------ [2002-02-02 04:46:11] jan@php.net assigning it to zak ;) ------------------------------------------------------------------------ [2002-02-02 03:57:21] zak@php.net Hey Georg, I will be back to PHP stuff in a few days and will be working on the MySQL extension. There should be support for selecting the database on mysql_connect, and may be support for mysql_options. There is a proposal in the Dev list archives. I don't currently have a copy to send. ------------------------------------------------------------------------ [2002-02-01 18:47:14] georg@php.net Since version 3.22.x we have a mysql_real_connect instead of mysql_connect + mysql_db_select in the mysql C-API. If you come from C, its annoying, to use the (deprecated) functions mysql_connect + mysql_select_db. Its ok for BC, but mysql_real_connect should be art of the state. Georg ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15336&edit=1

« previous php.bugs (#14290) next »