adspace


How do I switch users in mysql?

Answer Posted / Gautam Kishor

To switch users in MySQL, use the SQL command `USE <database_name>;` followed by `SET user = '<username>';`. Then, execute `SELECT user();` to verify the change.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which statement is used in a select query for partial matching?

1247


What is current version of mysql?

1081


What is the current mysql version?

1103


How to Change a users password from unix shell.

1221