MySQL Forums
Forum List  »  Newbie

Re: Another superuser similar to root
Posted by: Barry Galbraith
Date: July 16, 2015 12:16AM

http://dev.mysql.com/doc/refman/5.6/en/privileges-provided.html#priv_super
Here's the privileges that MySQL provides.

to make sure you get all of root's privileges, you could
USE mysql;
UPDATE TABLE user set user = 'toor' WHERE user = 'root';
FLUSH PRIVILEGES;

Has the effect of removing root when you create toor.
But be careful you haven't created 'toor' already.

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Another superuser similar to root
July 16, 2015 12:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.