groupadd mysql #1 useradd -g mysql[用户组] mysql[用户名] #2 useradd mysql[用户名] -g mysql[用户组] 转载于:https://www.cnblogs.com/uoar/p/9243324.html