Creating a User Group and a User
In a server environment, independent users are assigned to each process to implement permission isolation for security purposes.
The user created in this step will be used in 1. The user name mysql and user group name mysql are used as examples in the following operations. Use actual names based on your requirements.
- Create a user group mysql and user mysql.
1 2
groupadd mysql useradd -g mysql mysql
- Set the password for user mysql. Enter the same password twice as prompted.
1passwd mysql
Parent topic: Configuring the Installation Environment