Question

I am just now discovering that Google Cloud SQL may not allow MySQL's event_scheduler to be activated, as activating it is a (restricted) SUPER privilege.

Currently

"select @@GLOBAL.event_scheduler;"

returns:

@@GLOBAL.event_scheduler
OFF

and

"set global event_scheduler=ON;"

returns:

*Access denied; you need (at least one of) the SUPER privilege(s) for this operation*

This is really messing up a very scheduler-reliant production system I'm trying to migrate to the Cloud! Is the only work-around for this to implement Cron Jobs in GAE, or has anyone out there done anything clever with their SQL instance?

Was it helpful?

Solution

The event scheduler option can now be configured via flags: https://cloud.google.com/sql/docs/mysql-flags

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top