Starting/stopping MySQL is done via systemctl
which typically requires root privileges.
[mysqld]
user=mysql
The above configuration is the user that mysqld will “drop” down to after being started by root. You probably need to use visudo
to give your mysqld
OS user privileges to run specific systemctl commands for starting/stopping.