php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #15336 New mysql function: mysql_real_connect
Submitted: 2002-02-01 18:47 UTC Modified: 2002-07-16 03:30 UTC
From: georg@php.net Assigned: zak (profile)
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.1.1 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: georg@php.net
New email:
PHP Version: OS:

 

 [2002-02-01 18:47 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-02 03:57 UTC] 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-02 04:46 UTC] jan@php.net
assigning it to zak ;)
 [2002-07-16 03:30 UTC] georg@php.net
Nahh... forget it. It won't work with persistent 
connections. I withdraw the feature request (bogus)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC