Join Up!
96654 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousmysql_affected_rowsmysql_character_set_namenext
Last updated: Tue, 28 May 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German | Spanish

mysql_change_user

(PHP 3>= 3.0.13)

mysql_change_user --  Change logged in user of the active connection

Description

int mysql_change_user ( string user, string password [, string database [, resource link_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. Palauttaa TRUE jos onnistui, FALSE jos epäonnistui.

Huomaa: This function was introduced in PHP 3.0.13 and requires MySQL 3.23.3 or higher. It is not available in PHP 4.

User Contributed Notes
mysql_change_user
add a note about notes
There are no user contributed notes for this page.
previousmysql_affected_rowsmysql_character_set_namenext
Last updated: Tue, 28 May 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST