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
Line 15: Line 15:
|-
|-
| valign=top | '''{{fmt/arg|TLS option}}''' || ''one of –''
| valign=top | '''{{fmt/arg|TLS option}}''' || ''one of –''
* <code>IDENTIFIED BY</code> '{{fmt/arg|password}}'
* <code>IDENTIFIED BY '</code>{{fmt/arg|password}}<code>'</code>
* <code>IDENTIFIED BY PASSWORD</code> '{{fmt/arg|password hash}}'
* <code>IDENTIFIED BY PASSWORD '</code>{{fmt/arg|password hash}}<code>'</code>
* <code>IDENTIFIED</code> {<code>VIA</code>|<code>WITH</code>} {{fmt/arg|authentication rule}} [<code>OR</code> ''repeat...'']
* <code>IDENTIFIED</code> {<code>VIA</code>|<code>WITH</code>} {{fmt/arg|authentication rule}} [<code>OR</code> ''repeat...'']
|-
|-

Revision as of 03:08, 17 February 2025

Template:Fmt/title

Syntax

ALTER USER [IF EXISTS]

Template:Fmt/arg [, repeat...]
[REQUIRE {NONE | Template:Fmt/arg [[AND] repeat...]}]
[WITH Template: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 one of –
Template:Fmt/arg one of –
Template:Fmt/arg one of –
  • ACCOUNT LOCK
  • ACCOUNT UNLOCK
Template:Fmt/arg one of –
  • PASSWORD EXPIRE
  • PASSWORD EXPIRE DEFAULT
  • PASSWORD EXPIRE NEVER
  • PASSWORD EXPIRE INTERVAL N DAY
Template:Fmt/arg one of –
Template:Fmt/arg one of –