Archive

Archive for the ‘MySQL’ Category

MySQL root password recovery

September 27th, 2009 emran No comments
To recover root or administrative password on MYSQL please follow the bellow instructions.

# killall mysqld
# /usr/sbin/mysqld –skip-grant-tables –user=root &

mysql> USE mysql
mysql> update user set password=password(“YOUSETPASSWORD”) Where user=”root”;

mysql> flush privileges;
mysql> exit

# killall mysqld
# /etc/init.d/mysql start

# mysql -u root -p (Now Login with the new root password)

Categories: MySQL Tags:
7 visitors online right now
7 guests, 0 members
Max visitors today: 7 at 11:34 pm UTC
This month: 7 at 09-03-2010 11:34 pm UTC
This year: 43 at 06-10-2010 04:02 pm UTC
All time: 43 at 06-10-2010 04:02 pm UTC