문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top