root user for security reasons.
mysqld to run as a normal unprivileged user user_name, do the following:
mysqladmin shutdown to stop the server if it is running.
chown -R user_name /path/to/mysql/datadir
mysqld as the Linux root user with the --user=user_name option.
user option to the [mysqld] group of the /etc/my.cnf option file or the my.cnf option file in the server's data directory.
[mysqld]user=user_name
What is the MySQL access privilege system?
© 2007 John Michael Pierobon