While upgrading from ubuntu 16.04.1 to ubuntu 16.04.03, we had face once issue that we unexpected.

This incident are cause by mysql server update, while setting up the mysql by apt, its hang on the server and will not work for leaving it around one hours.

So we decide to remove the mysql server and reinstall again, below are the step that we were done.

  1. sudo apt-get remove --purge mysql*
  2. sudo apt-get purge mysql*
    
  3. sudo apt-get autoremove
  4. sudo apt-get autoclean
  5. sudo apt-get remove dbconfig-mysql
  6. sudo apt-get dist-upgrade
  7. sudo apt-get install mysql-server
    
    
    Source:https://linuxscriptshub.com

Leave a comment