MariaDB/SQL/ALTER
		
		
		
		
		
		Jump to navigation
		Jump to search
		
		
	
| "ALTER" SQL statement | 
Related
- This modifies users created by 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!';