Important
The SingleStore 9.1 release candidate (RC) gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 9.0 is recommended for production workloads, which can later be upgraded to SingleStore 9.1.
Change a Password for a User
To change a password for a user, you have the following options:
-
Use
GRANTas shown in the previous section.You must have SUPERprivileges to change another user’s password. -
Use
SET PASSWORDto create a password hash and assign it to the user.Users can also change their own password with this command. SET PASSWORD FOR 'username'@'host' = PASSWORD('password');
Last modified: January 20, 2023