Wednesday, 14 September 2016

How to install MYSQL using command line


















Install MYSQL using below command

sudo apt-get install mysql-server mysql-client


Verify MYSQL using below command

mysql -u <username> -p


If username is `root` then below command

mysql -u root -p


Un-Install MYSQL using below command

sudo apt-get autoremove mysql-server mysql-client


Share this article with your friends.
Related Posts Plugin for WordPress, Blogger...