Friday, September 30, 2016

[google-cloud-sql-discuss] Re: Errors when importing gen 1 v5.6 into gen 2 v5.6

Hey Rob,

Thanks for reporting this. I've been able to replicate the behaviour and I've created a Public Issue Tracker thread for this. You should star that issue to receive updates. We'll post further updates there. In general, if you find a platform issue like this, that's the place to post in future. Thanks again!

Cheers,

Nick
Cloud Platform Community Support

On Sunday, September 25, 2016 at 2:54:35 PM UTC-4, Rob wrote:
Without setting log-bin-trust-function-creators this is the error I get:

ERROR 1227 (42000) at line 156: Access denied; you need (at least one of) the SUPER privilege(s) for this operation

I'm pretty sure this is due to a DEFINER clause on a CREATE TRIGGER statement.

However, this *is* something that needs to be able to happen on an import. Changing the dump file is not a solution as the permissions do need to be set.

How can I work around this? Is this a bug that will be fixed?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/a5b4a3be-c151-43a0-9a79-2b478837136c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment