Menu

Configuring + Installing under ubuntu

PHP+MySQL
Duy Dinh
2013-04-09
2015-03-03
  • Duy Dinh

    Duy Dinh - 2015-03-03

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

    I found solution with this step:

    $ sudo apt-get --yes autoremove --purge mysql-server-5.5

    $ sudo apt-get --yes autoremove --purge mysql-client-5.5

    $ sudo apt-get --yes autoremove --purge mysql-common

    $ sudo rm -rf /var/lib/mysql /etc/mysql ~/.mysql

    WARNING: above step will delete your existing data! please backup first!!!

    $ sudo deluser mysql

    $ sudo apt-get autoclean

    $ sudo apt-get update && sudo apt-get upgrade

    $ sudo apt-get install mysql-server-5.5 mysql-client-5.5

    NOTE: when you get 'dpkg: error...' please run step below:

    $ sudo dpkg --configure -a

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.