Install MYSQL Client and server on Ubuntu Linux

HI All,

In this article I will show how to install MYSQL client and server packages. To Install simply run the below command in Terminal.

sudo apt-get install mysql-server mysql-client

You will be prompt for the administrator password before the installation begins, Supply a valid password. And then follow the
instructions on the console, Once done the installation will prompt for the MYSQL Root password,
by default the password is blank(empty). Set a Valid ROOT user password to run MYSQL.

Once the operation is done, clear the console and type the below command to run the MYSQL.

mysql -u root -p

MYSQL will prompt for the root password, supply the same which you have set during installation.

Hope this helps.


Thanks
R Vashi

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.