Friday, July 08, 2016

Change the stored Procedure Definer




 Change Views DEFINER without ALTER VIEW:
UPDATE `mysql`.`proc` p SET definer = ‘root@localhost’ WHERE definer=’root@foobar’ AND db=’whateverdbyouwant’;

Turn off variable automatic_sp_privileges, to Preseve Execute permissions for MySQL procedure with alter procedure.

set global automatic_sp_privileges  = 0;

1 comment:

Unknown said...
This comment has been removed by the author.

SHOW ENGINE INNODB STATUS

  The SHOW ENGINE INNODB STATUS command in MySQL provides detailed information about the internal state of the InnoDB storage engine. This ...