CREATE
# user
CREATE USER 'jeffrey'@'localhost' PASSWORD EXPIRE INTERVAL 90 DAY;
# database
CREATE DATABASE IF NOT EXISTS RUNOOB DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_general_ci;
ALTER
ALTER USER 'jeffrey'@'localhost' PASSWORD EXPIRE INTERVAL 90 DAY;
标签:utf8mb4,CREATE,常用命令,EXPIRE,USER,mysql,ALTER From: https://www.cnblogs.com/wangguishe/p/17287095.html