Installing mysql in linux

To install mysql type following command in terminal

$ sudo apt-get install mysql-server

When installation is done, you may want to setup password for root

sudo mysqladmin -u root -h localhost password 'test'
sudo mysqladmin -u root -h hostname password 'test'

Replace hostname and ‘test’ with your actually hostname and desired

<< Back to Setting up j2ee developer environment …

Related Post

Setting up j2ee developer environment in ubuntu/linux
Changing root user password in mysql
Connecting to mysql database
Backup of mysql database
Installing eclipse in ubuntu/linux

Comments

One Response to “Installing mysql in linux”

  1. Setting up j2ee developer environment in ubuntu/linux : TechPitcher on February 27th, 2009 11:17 am

    [...] most frequent tools in his machine. 1.  Sun JDK 6.0 2.  Eclispe 3.4 3.  Tomcat 6.X 4.  MySql 5 5.  Apache [...]

Leave a Reply