Welcome Guest, [ Log in, Register ]

mysql

ramki's picture

Install MySQL Server 5 on Ubuntu Desktop

How to Installing MySQL 5 Server on Ubuntu desktop, seems very dumb question but for newbies it is not. Ubuntu doesn't give mysql server installed on desktop version. No need to worry, Its very easy and quick.

Open a terminal(gnome-terminal / konsole), and use the following command:

sudo aptitude install mysql-server mysql-client

ramki's picture

How to reset the mysql root password on Linux system

 If you forgot your mysql root password, not able to login to your mysql database. Don't worry this is the simplest way I could find to reset mysql root user password.

  • Stop mysqld

    shell> /etc/init.d/mysql stop

  • Edit /etc/init.d/mysql file to add --skip-grant-tables option.