Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace Root User

Status
Not open for further replies.

tidrion

Programmer
Jan 7, 2004
12
US
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.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top