Bug #15336 Updated: New mysql function: mysql_real_connect
| From: | jan@php.net | Date: | Sat, 02 Feb 2002 09:46:11 +0000 |
| Subject: | Bug #15336 Updated: New mysql function: mysql_real_connect | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78851@lists.php.net to get a copy of this message | ||
ID: 15336
Updated by: jan@php.net
Reported By: georg@php.net
Status: Open
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.1.1
Old Assigned To:
Assigned To: zak
New Comment:
assigning it to zak ;)
Previous Comments:
------------------------------------------------------------------------
[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