Re: Giving user account JUST ENOUGH right to stop & start slave
Posted by: slwang wang
Date: March 17, 2017 04:21AM

Maybe you can not get proper solution.

In source code:
int start_slave(THD* thd , Master_info* mi, bool net_report)
{
......
if (check_access(thd, SUPER_ACL, any_db, NULL, NULL, 0, 0))
DBUG_RETURN(1);
......
}

int stop_slave(THD* thd, Master_info* mi, bool net_report )
{
......
if (check_access(thd, SUPER_ACL, any_db, NULL, NULL, 0, 0))
DBUG_RETURN(1);
......
}

so SUPER privilege is necessary.


The only solution is modify the source code.

Options: ReplyQuote


Subject
Written By
Posted
Re: Giving user account JUST ENOUGH right to stop & start slave
March 17, 2017 04:21AM


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.