Simple syntax to create a super user (for editing users and dropping schemas etc)

 
CREATE USER 'superuser'@'%' IDENTIFIED BY '[password]';
 
GRANT ALL PRIVILEGES ON *.* TO 'superuser'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;

Easy as that init

By admin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.