如何更新 AWS RDS MySQL 实例中的 --thread_stack 值?

How to update --thread_stack value in AWS RDS MySQL instance?

我们在 AWS RDS 实例上遇到以下错误:

Caused by: java.sql.SQLException: Thread stack overrun: 246160 bytes used of a 262144 byte stack, and 16000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.

我没有在 AWS 控制台上找到增加 thread_stack 值的选项。我们想知道是否可以在 AWS RDS 中更新它的值。

通过mysql 提示设置thread_stack 或任何其他不可编辑的全局变量。您需要在 AWS RDS 参数组中设置变量值并重新启动实例。请注意,您将无法编辑默认参数组。您需要创建一个,更新 thread_stack 并将该参数组分配给您的 mysql 实例。