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…

Advertisement