mysql_change_user
Change logged in user of the active connection
&reftitle.description;
intmysql_change_user
stringuser
stringpassword
stringdatabase
resourcelink_identifier
mysql_change_user changes the logged in user
of the current active connection, or the connection given by the
optional link_identifier parameter. If a
database is specified, this will be the current database after
the user has been changed. If the new user and password
authorization fails, the current connected user stays active.
This function is deprecated and no longer exists in PHP.
&reftitle.parameters;
user
The new MySQL username.
password
The new MySQL password.
database
The MySQL database. If not specified, the current selected database
is used.
&mysql.linkid.description;
&reftitle.returnvalues;
&return.success;
&reftitle.changelog;
&Version;
&Description;
3.0.14
This function was removed from PHP.
&reftitle.notes;
Requirements
This function requires MySQL 3.23.3 or higher.
&reftitle.seealso;
mysql_connect
mysql_select_db
mysql_query