MariaDB/SQL/ALTER
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
|
"ALTER" SQL statement
|
{{#set: page title="ALTER" SQL statement }}
Related
- This modifies users created by CREATE.
Reference
Syntax
Note: The following is incomplete.
ALTER USER [IF EXISTS]
- <user spec> [, repeat...]
- [
REQUIRE{NONE| <TLS option> [[AND] repeat...]}] - [
WITH<resource option> [repeat...]] - [ <lock option> ] [ <password option> ]
| argument name | value(s) |
|---|---|
| <user spec> | <username> [ <auth option> ] |
| <auth option> (authentication option) |
one of –
|
| <resource option> | one of –
|
| <lock option> | one of –
|
| <password option> | one of –
|
| <authentication rule> | one of –
|
| <authentication plugin> | one of –
|
Example
ALTER USER 'rc-bot'@localhost IDENTIFIED BY 'YourPassword!';- Note that the syntax
