mysql users and groups

This chapter presents the Operating System users and groups configured by dbi services to install the mysql software (RDBMS is considered here) on Linux.

Operating System group

The MySQL group must be created to install MySQL on UNIX/Linux servers. You should provide a Group ID not already used in your infrastructure:

groupadd mysql -g 321

Operating system user.

A mysql user must be created when installing MySQL on UNIX/Linux and has to be included in the mysql group:

useradd -d /home/mysql -g mysql -m -s /bin/bash mysql

Last updated