Status Update
Comments
jm...@google.com <jm...@google.com> #2
Super privileges are disabled for Cloud SQL instances [1].
You are able to add a single 'sql_mode' flag by following the guide here [2]. Our engineering team is currently working on allowing multiple 'sql_mode's to be set, but there is no ETA for this.
You can find out more information on this subject on the Google Groups form here [3].
[1]https://cloud.google.com/sql/docs/features#differences
[2]https://cloud.google.com/sql/docs/mysql/flags#setting_a_title_short_flag
[3]https://groups.google.com/forum/#!msg/google-cloud-sql-discuss/PaffwU0dVP8/A_-Eodc1AQAJ
You are able to add a single 'sql_mode' flag by following the guide here [2]. Our engineering team is currently working on allowing multiple 'sql_mode's to be set, but there is no ETA for this.
You can find out more information on this subject on the Google Groups form here [3].
[1]
[2]
[3]
an...@lesmills.com <an...@lesmills.com> #3
Awesome, thank you. This worked!
jm...@google.com <jm...@google.com>
go...@google.com <go...@google.com> #4
Hi,
Thank you for your patience. The Cloud SQL engineering team has deployed a fix that solves the issue.
I have tested myself and now it is possible to set multiple flags from the Developers Console for the flag “sql_mode” (all the ones you mentioned). I understand that you are trying to set them using a query inside the Cloud SQL instance, but please note that that is not recommended.
Please try if you can now set the all the flags together from the Developers Console and let me know if this fix is valid for your needs.
Thank you for your patience. The Cloud SQL engineering team has deployed a fix that solves the issue.
I have tested myself and now it is possible to set multiple flags from the Developers Console for the flag “sql_mode” (all the ones you mentioned). I understand that you are trying to set them using a query inside the Cloud SQL instance, but please note that that is not recommended.
Please try if you can now set the all the flags together from the Developers Console and let me know if this fix is valid for your needs.
an...@lesmills.com <an...@lesmills.com> #5
I no longer use this product, so I will not be able to test this on your behalf
ap...@google.com <ap...@google.com> #6
🤖 This is an automatic update. The status of the related internal issue(s) listed in "Blocked By" has changed, so we've done the following:
* Moved this issue to a locked sub-component, because the issue has been closed. Please open a new issue if you need Google to re-visit this topic.
You can read more about what these statuses mean athttps://developers.google.com/issue-tracker/concepts/issues#fields
* Moved this issue to a locked sub-component, because the issue has been closed. Please open a new issue if you need Google to re-visit this topic.
You can read more about what these statuses mean at
Description
set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
But I keep getting this response;
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation
Is there someone else who can run this for me?