Bug #14137 Updated: Request additional flag for mysql_connect
| From: | lenar at vision dot ee | Date: | Tue, 20 Nov 2001 20:01:34 +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-71115@lists.php.net to get a copy of this message | ||
ID: 14137
User updated by: lenar@vision.ee
Reported By: lenar@vision.ee
Status: Open
Bug Type: Feature/Change Request
Operating System: Debian/Linux
PHP Version: 4.0CVS-2001-11-20
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2001-11-20 12:34:58] bate@php.net
bool mysql_select_db (string database_name, resource [link_identifier])
http://www.php.net/manual/en/function.mysql-select-db.php
--Marco
P.S. Maybe you upgrade your system or you learn to read the manual pages.
------------------------------------------------------------------------
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