看事件查看器有mysql錯誤
2錯誤
Changed limits: max_open_files: 2048 max_connections: 1910 table_cache: 64
解決:
在windows下安裝Mysql系統日誌出現 max_open_files: 2048 max_connections: 510 table_cache: 764 類似錯誤是因爲 max_connections 最大連接數和max_open_files、table_cache 不匹配。適當的降低max_connections 或調整其他兩個數值 解決辦法在 mysql bin > 中輸入 mysql-nt --table_cache=764 mysql-nt --innodb_open_files=2048 即可!! table_cache和max_connections 在my.ini 裏可調 Changed limits: max_open_files: 2048 max_connections: 1024 table_cache: 507 max_connections=1024 table_cache=500 OK,問題解決
增加 tmp_table_size 值。mysql 的配置文件中,tmp_table_size 的默認大小是 32M。如果一張臨時表超出該大小,MySQL產生一個 The table tbl_name is full 形式的錯誤,如果你做很多高級 GROUP BY 查詢,增加 tmp_table_size
可以改爲200M或者更高(my.ini)