每隔两三天,当我查看应用程序引擎日志时,当应用程序尝试连接到Google SQL实例时,都会看到此错误
Query failed w/ error: The MySQL server is running with the --read-only option so it cannot execute this statement
我已经读到,这可能在维护时段内发生,但配置为每周一次。有谁知道是什么原因造成的?
这可能是由于在执行查询时备份了Cloud SQL实例。
默认情况下,每天都会备份CloudSQL实例,并且在运行备份作业时,表将处于只读模式。
请参阅此官方页面以获取更多信息:https : //cloud.google.com/sql/docs/backup-recovery/backups#how_backups_affect_instance_operations
希望这可以帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句