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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top