LinuxNepal

Search
Skip to content
  • Bash Shell

Daily Archives: August 12, 2011

Recover MySQL root password

August 12, 2011 admin Leave a comment

You can recover a MySQL database server password with the following five easy steps:

Step # 1 : Stop the MySQL service:

# /etc/init.d/mysqld stop

Step # 2: Start the MySQL server w/o password:

Continue reading Recover MySQL root password →

How to change mysql password?

August 12, 2011 admin Leave a comment

If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To set up a root password for the first time, use the mysqladmin command at the shell prompt as follows:

$ mysqladmin -u root password ‘newpassword’

If you want to changeĀ a root password, then you need to use the following command:

Continue reading How to change mysql password? →

The only Linux site of Nepal

Calendar

August 2011
M T W T F S S
« Jul   Nov »
1234567
891011121314
15161718192021
22232425262728
293031  

Tutorials

  • Bash Shell
Proudly powered by WordPress