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
mNo edit summary |
No edit summary |
||
| 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
Related
- This modifies [[../user/]]s created by Template:L/same.
Reference
Syntax
Note: The table below is incomplete.
ALTER USER [IF EXISTS]
- Template:Fmt/arg [, repeat...]
- [
REQUIRE{NONE| Template:Fmt/arg [[AND] repeat...]}] - [
WITHTemplate:Fmt/arg [repeat...]] - Template:Fmt/arg/opt Template:Fmt/arg/opt
| argument name | value(s) |
|---|---|
| Template:Fmt/arg | Template:Fmt/arg Template:Fmt/arg/opt |
| Template:Fmt/arg (authentication option) |
one of –
|
| Template:Fmt/arg | one of –
|
| Template:Fmt/arg | one of –
|
| Template:Fmt/arg | one of –
|
| Template:Fmt/arg | one of –
|
| Template:Fmt/arg | one of –
|
Example
ALTER USER 'rc-bot'@localhost IDENTIFIED BY 'YourPassword!';
