Obviously everyone knows that mysql ships with the default root user. I was wondering (for security) if it was possible to replace the root user with another user account or if the root user had certain privaliges that others could not have.
All user permissions, including the permissions for the root user, are, to the best of my knowledge, defined in the mysql database -- there is nothing built into the code for the admin user.
You should be able to modify the username for the root user in the user table in the mysql database and issue a "flush privileges" query.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.