打开mysql一直闪退

最近在使用mysql时,遇到了一个很棘手的问题,就是一直打不开mysql,每次尝试打开都会闪退。

打开mysql一直闪退

我知道这是一个很常见的问题,但是我尝试了各种方法都没能解决它。在查找资料时,我发现该问题通常是由于mysql配置文件中的一些错误导致的。

# Example MySQL config file for very large systems. 1. 1. This file is read by MySQL server. 1. 1. Edit this file to suit your needs. 1. This could be a lot faster if we didn't use DNS. skip-name-resolve 1. Compress all clientserver communication. 1. Note: this will cause extra CPU usage on the server 1. MySQL 4.1 and newer is needed for this. 1. commented out by default #compress [mysqld] 1. Set the buffer pool size as 64 MB innodb_buffer_pool_size=64M