Mysql 安装失败

Mysql 安装失败
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
     Errors were encountered while processing:
  mysql-server-5.5
  mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

我已经尝试安装它一段时间了。我彻底清除了系统中所有 mysql 的内容,并尝试重新安装多次。我已经束手无策了。我肯定我忘了发布一些你需要解决的问题,所以请提出要求,我会提供。

答案1

已解决:我必须将 default-character-set=utf8 更改为 character-set-server=utf8

http://ronaldbradford.com/blog/tag/mysql-5-5/

相关内容