【问题标题】:Is there any way to set the value of the net_read_timeout flag in google cloud sql?有没有办法在谷歌云 sql 中设置 net_read_timeout 标志的值?
【发布时间】:2018-08-02 02:53:17
【问题描述】:

此特定标志 (net_read_timeout) 在云控制台的可设置标志列表中不可用,文档中也未提及 (https://cloud.google.com/sql/docs/mysql/flags)。我可以通过执行查看该标志的当前设置值:

show global variables like '%timeout%';

其中显示:

| net_read_timeout                          | 30       |

不支持从命令行设置此标志:

mysql> SET GLOBAL net_read_timeout=120;
ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation

所以我想知道是否有任何方法可以更改此标志的值。

【问题讨论】:

    标签: google-cloud-platform google-cloud-sql


    【解决方案1】:

    由于 net_read_timeout 标志未在 Cloud SQL 中列为 Supported Tag,因此您无法通过任何渠道(控制台、命令行或 API)更改它。但是,如果您有付费支持包或目前正在免费试用,则可能值得通过支持案例询问是否可以解决问题。

    您还可以通过此link 创建功能请求,以便在未来的版本中支持此标志。请记住,这并不能保证它是否会被收录或何时收录。

    【讨论】:

    • 谢谢,我按照建议添加了功能请求。
    猜你喜欢
    • 2021-08-24
    • 2020-12-04
    • 2020-04-17
    • 1970-01-01
    • 2021-10-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多