Home
%3CLINGO-SUB%20id%3D%22lingo-sub-368905%22%20slang%3D%22en-US%22%3EGRANT%20SUPER%20privilege%20on%20Azure%20Database%20for%20MySQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-368905%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20MSDN%20on%20Jun%2026%2C%202017%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20The%20SUPER%20privilege%20is%20not%20supported%20on%20Azure%20Database%20for%20MySQL.%20The%20closest%20you%20can%20get%20is%20to%20create%20another%20admin%20level%20user%20with%20the%20same%20rights%20as%20the%20server%20admin%20you%20created%20to%20do%20this%20you%20can%20run%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%5Bcode%20language%3D%22sql%22%5DCREATE%20USER%20'testuser'%40'%25'%20%3CSPAN%3EIDENTIFIED%26nbsp%3B%3C%2FSPAN%3EBY%20'your_password_here'%3B%5B%2Fcode%5D%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%5Bcode%20language%3D%22sql%22%5DGRANT%20SELECT%2C%20INSERT%2C%20UPDATE%2C%20DELETE%2C%20CREATE%2C%20DROP%2C%20RELOAD%2C%20PROCESS%2C%20REFERENCES%2C%20INDEX%2C%20ALTER%2C%20SHOW%20DATABASES%2C%20CREATE%20TEMPORARY%20TABLES%2C%20LOCK%20TABLES%2C%20EXECUTE%2C%20REPLICATION%20SLAVE%2C%20REPLICATION%20CLIENT%2C%20CREATE%20VIEW%2C%20SHOW%20VIEW%2C%20CREATE%20ROUTINE%2C%20ALTER%20ROUTINE%2C%20CREATE%20USER%2C%20EVENT%2C%20TRIGGER%20ON%20*.*%20TO%20'testuser'%40'%25'%20WITH%20GRANT%20OPTION%3B%5B%2Fcode%5D%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20You%20can%20get%20the%20privileges%20the%20admin%20account%20has%20by%20logging%20in%20as%20the%20admin%20account%20and%20running%3A%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%5Bcode%20language%3D%22sql%22%5DSHOW%20GRANTS%20FOR%20CURRENT_USER%3B%5B%2Fcode%5D%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20This%20does%20mean%20you%20cannot%20run%20things%20like%20SET%20GLOBAL%2C%20to%20set%20global%20level%20settings%20please%20use%20the%20properties%20items%20in%20the%20portal.%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-368905%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Jun%2026%2C%202017%20The%20SUPER%20privilege%20is%20not%20supported%20on%20Azure%20Database%20for%20MySQL.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-368905%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Database%20for%20MySQL%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Jun 26, 2017
The SUPER privilege is not supported on Azure Database for MySQL. The closest you can get is to create another admin level user with the same rights as the server admin you created to do this you can run:

[code language="sql"]CREATE USER 'testuser'@'%' <span>IDENTIFIED </span>BY 'your_password_here';[/code]


[code language="sql"]GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER ON *.* TO 'testuser'@'%' WITH GRANT OPTION;[/code]

You can get the privileges the admin account has by logging in as the admin account and running:

[code language="sql"]SHOW GRANTS FOR CURRENT_USER;[/code]

This does mean you cannot run things like SET GLOBAL, to set global level settings please use the properties items in the portal.