天天看點

MYSQL 記憶體報錯 Use 'mysqld --thread_stack=#' to specify a bigger stack.

MYSQL 記憶體報錯 Use 'mysqld --thread_stack=#' to specify a bigger stack.

今天在使用mysql的過程中,連接配接資料庫始終無法成功

最後發現是資料庫無法執行增加修改的操作

:錯誤代碼

Thread stack overrun:  11552 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld --thread_stack=#' to specify a bigger stack.

解決辦法

修改mysql 配置檔案

my.ini 

<code>thread_stack  參數調整的更大一些  我設定是256K</code>

<code>my-small.ini</code>

<code>thread_stack=256K</code>

重新開機mysql 服務即可

本文轉自 baishuchao 51CTO部落格,原文連結:http://blog.51cto.com/baishuchao/1939974