mysqld will switch to run as Unix user user_name before accepting any connections. If you are using the mysql. server script to start mysqld when the system is rebooted, you should edit mysql. server to use su to run mysqld as user user_name , or to invoke mysqld with the –user option.
What is MySQL database user?
MySQL stores accounts in the user table of the mysql system database. An account is defined in terms of a user name and the client host or hosts from which the user can connect to the server.
What is root user in MySQL?
What is the Root Account? … It’s a superuser account that has god-like privileges in all the MySQL databases. The initial root account password is empty by default, so anyone can connect to the MySQL server as root without a password and be granted all privileges!