Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I searched mysql.user table and did not find any user named as mysql. root is the default username.

  • I am curious to know whether mysql user exist or not? If yes, what is the purpose of this user?
  • Does it exist in OS level instead database level?
share|improve this question

1 Answer 1

Usually an OS user-account mysql is created at installation time. This is the user that runs the mysql-daemon.

Most packages that come with a daemon will create their own user-account to prevent interference or security issues between different packages.

A user called mysql is not created automatically within the database.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.