how to change role in mysql
how to change role in mysql
How to change admin role to user in mysql?
Re: how to change role in mysql
Are you asking to downgrade privileges of an admin user in Linux, or create a MySQL account for your admin?
Most people would use chown if they are changing Linux permissions, or something like the below command if they are doing it in MySQL.
SOURCE
Most people would use chown if they are changing Linux permissions, or something like the below command if they are doing it in MySQL.
Code: Select all
mysql> GRANT ALL ON example_database.* TO 'example_user'@'%';As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to change role in mysql
It would probably be something like the following.
LINK
Are you trying to change permissions in MySQL or Linux?
Code: Select all
REVOKE role FROM user;Are you trying to change permissions in MySQL or Linux?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to change role in mysql
trying to change in mysql. We have about 50 + admins.. now i have to degrade them to user role.
Re: how to change role in mysql
In that case, dropping the role entirely may be quickest way to go about this.
Please see the documentation for more information about revoking roles in MySQL.
Normally, it's not necessary to change these settings when managing Nagios XI, I would recommend backing the server up before you make any changes.
Backing Up and Restoring Nagios XI
Code: Select all
DROP ROLE 'app_read', 'app_write';Normally, it's not necessary to change these settings when managing Nagios XI, I would recommend backing the server up before you make any changes.
Backing Up and Restoring Nagios XI
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!