java.sql.SQLException: Sort aborted:
it was a problem with the cache configuration of the mysql
increasing the buffer to a value like this (it was really low, like 256K before) makes the tables load normally on startup
| ||||
# This buffer is allocated when MySQL needs to rebuild the index in
# REPAIR, OPTIMZE, ALTER table statements as well as in LOAD DATA INFILE
# into an empty table. It is allocated per thread so be careful with
# large settings.
sort_buffer_size=256K
本文介绍了解决MySQL启动时遇到的缓存配置问题,通过调整sort_buffer_size参数值从256K增加到32M,解决了数据库在启动过程中出现的sort aborted错误。
4973

被折叠的 条评论
为什么被折叠?



