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..
留言
張貼留言