How to install mysql in UBUNTU 16.04 LTS


How to install mysql in UBUNTU 16.04 LTS
Try: sudo service mysqld start
To check that service is running use: ps -ef | grep mysql | grep -v grep.
Uninstalling:
sudo apt-get purge mysql-server
sudo apt-get autoremove
sudo apt-get autoclean
Re-Installing:
sudo apt-get update
sudo apt-get install mysql-server

Backup entire folder before doing this:
sudo rm /etc/apt/apt.conf.d/50unattended-upgrades*
sudo apt-get update
sudo apt-get upgrade

if you want start or stop mysql server, you can use the command like :
sudo /etc/init.d/mysql start
sudo /etc/init.d/mysql stop


that's it..

留言

這個網誌中的熱門文章

【多益】現點現做的英文怎麼說呢?

《Microsoft Word 應用》:圖片被文字蓋住解決方法,不可設定為固定行高

如何在Ubuntu系統上安裝Notepad ++ (Install Notepad++ On Ubuntu 16.04 / 17.10 / 18.04 / 20.04)