Change a Password for a User
Warning
SingleStore 9.0 gives you the opportunity to preview, evaluate, and provide feedback on new and upcoming features prior to their general availability. In the interim, SingleStore 8.9 is recommended for production workloads, which can later be upgraded to SingleStore 9.0.
To change a password for a user, you have the following options:
-
Use
GRANT
as shown in the previous section.You must have SUPER
privileges to change another user’s password. -
Use
SET PASSWORD
to 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