How to Install Mysql on Linux

Hi..to all today i’m going to tell the installation and basics of Mysql..

first we will see the installation steps..

For Linux user you have 3 choices to install..

1) Ubuntu software center

go to Applications and choose Ubuntu software center

Search Mysql in the searchbox and then click install to install the Mysql in our system.

2)By Terminal

open terminal

type this command  $ sudo apt-get install mysql

it will ask for your system password .type your password and it will install mysql in our system..

3)Synaptic Packet Manager

Go to system->Administration-> synaptic Packet manager

Search the mysql and click the box in the left side

Click the Apply in the above panel

while unpacking the mysql it will ask the password for mysql ..Give new password for the mysql(password to use  mysql).

Thats it …now we successfully installed mysql in our system…

To check whether the mysql is installed in our system..

open terminal and type

$ mysql -u root -p

Give your mysql password..it will go to mysql like this

Thats it…now start working on your queries ….thanks…

Author: Balaji

Hi..My name is Balaji and i am working as a Senior Software Developer in India. I am interested in Shell scripts, python, erlang , linux kernel .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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

%d bloggers like this: