Creating a User Group and User
In a server environment, independent users are assigned to each process to implement permission isolation for security purposes. User groups and users are created for the OS, not for the database.
The user created in this procedure will be used in Running MySQL.
- Create a user group mysql.
1groupadd mysql - Create a user mysql.
1useradd -g mysql mysql
- Set the password of the user mysql. Enter the same password twice as prompted.
1passwd mysql
Parent topic: Configuring the Installation Environment