SET PASSWORD statement

This statement is used to change the user's password.

Syntax

SET PASSWORD old_password new_password
Keyword Description
old_password Old password
new_password New password

Use

This statement is used to change the user's password.

Example

SET PASSWORD mypass newpass
SET PASSWORD mypass ''42pass''