📜  刷新用户资源mysql代码示例

📅  最后修改于: 2022-03-11 15:05:15.908000             🧑  作者: Mango

代码示例1
FLUSH USER_RESOURCES

Resets all per-hour user resource indicators to zero.

This operation requires the FLUSH_USER_RESOURCES or RELOAD privilege.

Resetting resource indicators enables clients that have reached their hourly 
connection, query, or update limits to resume activity immediately. 
FLUSH USER_RESOURCES does not apply to the limit on maximum simultaneous 
connections that is controlled by the max_user_connections system variable.

refrence :
https://dev.mysql.com/doc/refman/8.0/en/flush.html#flush-user-resources