sql 来自https://dev.mysql.com/doc/refman/5.7/en/create-user.html
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql 来自https://dev.mysql.com/doc/refman/5.7/en/create-user.html相关的知识,希望对你有一定的参考价值。
CREATE USER [IF NOT EXISTS]
user [auth_option] [, user [auth_option]] ...
[REQUIRE {NONE | tls_option [[AND] tls_option] ...}]
[WITH resource_option [resource_option] ...]
[password_option | lock_option] ...
user:
(see Section 6.2.3, “Specifying Account Names”)
auth_option: {
IDENTIFIED BY 'auth_string'
| IDENTIFIED WITH auth_plugin
| IDENTIFIED WITH auth_plugin BY 'auth_string'
| IDENTIFIED WITH auth_plugin AS 'hash_string'
| IDENTIFIED BY PASSWORD 'hash_string'
}
tls_option: {
SSL
| X509
| CIPHER 'cipher'
| ISSUER 'issuer'
| SUBJECT 'subject'
}
resource_option: {
MAX_QUERIES_PER_HOUR count
| MAX_UPDATES_PER_HOUR count
| MAX_CONNECTIONS_PER_HOUR count
| MAX_USER_CONNECTIONS count
}
password_option: {
PASSWORD EXPIRE
| PASSWORD EXPIRE DEFAULT
| PASSWORD EXPIRE NEVER
| PASSWORD EXPIRE INTERVAL N DAY
}
lock_option: {
ACCOUNT LOCK
| ACCOUNT UNLOCK
}
以上是关于sql 来自https://dev.mysql.com/doc/refman/5.7/en/create-user.html的主要内容,如果未能解决你的问题,请参考以下文章
MySQL性能分析工具之PROFILE
如何将来自一个 SQL 选择的聚合值除以来自另一个 SQL 选择的聚合值?
sql 来自grad class.sql的成绩
sql 来自SQL的访问,视图和联系人
Oracle PL SQL 从 SQL Dev 工作。但不是来自代码
来自oracle sql的等效redshift sql