Bug #14137 Updated: Request additional flag for mysql_connect
| From: | mfischer@php.net | Date: | Thu, 22 Nov 2001 08:26:14 +0000 |
| Subject: | Bug #14137 Updated: Request additional flag for mysql_connect | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-71356@lists.php.net to get a copy of this message | ||
ID: 14137
Updated by: mfischer
Reported By: lenar@vision.ee
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Debian/Linux
PHP Version: 4.0CVS-2001-11-20
New Comment:
Fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-11-20 15:01:33] lenar@vision.ee
I just want to add that creating another mysql account
is not an valid option sometimes (with hosting companies
for example). Although yes, this will solve the problem.
------------------------------------------------------------------------
[2001-11-20 13:00:02] derick@php.net
Marko, will you please read the bugreport with more care the next time? THis is a valid report, but
moving it to a feature request.
Derick
------------------------------------------------------------------------
[2001-11-20 12:57:59] mfischer@php.net
Mistake, should read "...you get the old link back..."
------------------------------------------------------------------------
[2001-11-20 12:57:16] mfischer@php.net
Not so fast ..
This is definitely a problem when you try to connect to MySQL twice with the same incredentials
(host,user,pass) you don't get the old link back and thus changing the database on one link
obviously changes it on the other too ...
Should be a Feature Request, note sure.
A workaround is to create another user.
Reopened.
------------------------------------------------------------------------
[2001-11-20 12:48:50] bate@php.net
Ups sorry wrong links. :)
http://www.php.net/manual/en/ref.mysql.php
http://www.php.net/manual/en/function.mysql-db-query.php
--Marco
Note: This function has been deprecated since PHP 4.0.6. Do not use this function. Use
mysql_select_db() and mysql_query() instead.
read the User comment's
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14137
Edit this bug report at http://bugs.php.net/?id=14137&edit=1