Can't start MySQL5.5 on Ubuntu 12.04 - “dpkg: dependency problems”

后端 未结 11 1323
礼貌的吻别
礼貌的吻别 2020-12-25 13:25

This appears to be a common problem on 12.04. I\'ve tried everthing in this thread including:

sudo apt-get clean

sudo apt-get autoclean

sudo apt-get remove         


        
11条回答
  •  一生所求
    2020-12-25 14:06

    I tried everything above, but it still wouldn't install. I finally got it working with this post: http://www.randomhacks.co.uk/mysql-job-failed-to-start-unable-to-set-root-password-cant-find-file-mysql/

    It advises to remove folders similar to what was stated above, and also to run

    dpkg --get-selections | grep mysql
    sudo apt-get remove --purge [everything that came up]
    sudo apt-get autoremove && sudo apt-get autoclean
    sudo apt-get install mysql-server
    

提交回复
热议问题