MariaDB/SQL/ALTER: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{fmt/title| | {{fmt/title|SQL command: <code>ALTER</code>}} | ||
==Related== | ==Related== | ||
* This modifies | * This modifies [[../user/]]s created by {{l/same|CREATE}}. | ||
==Reference== | ==Reference== | ||
* [https://mariadb.com/kb/en/alter-user/ MariaDB Knowledge Base] | * [https://mariadb.com/kb/en/alter-user/ MariaDB Knowledge Base] | ||
Latest revision as of 00:41, 26 April 2026
|
SQL command:
ALTER |
{{#set: page title=SQL command: ALTER }}
Related
- This modifies [[../user/]]s created by [[../CREATE|CREATE]].
Reference
Syntax
Note: The table below 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!';
