debian7 wheezy install mysql-server-5.5 error

dpkg: error processing mysql-server (–configure):

dependency problems – leaving unconfigured

Processing triggers for libapache2-mod-php5 …

[ ok ] Reloading web server config: apache2.

Errors were encountered while processing:

mysql-server-5.5

mysql-server

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

# wget http://dev.mysql.com/get/mysql-apt-config_0.2.1-1debian7_all.deb

# dpkg -i mysql-apt-config_0.2.1-1debian7_all.deb //安装时选1,使用5.6版本。

# apt-get update

# apt-get install mysql-server

Drop Your Comment