Recovering mysql root password
If you forget mysql root password, you can recover it such as:
Restart mysqld with
mysqld --skip-grant-tables
Then connect mysql using mysql utility without password
mysql> update mysql.user set Password=Password('newpassword') where User='root';
mysql> flush privileges;
Then restart mysql normally (without --skip-grant-tables)
- 0 Comment
- Halil Demirezen
- 05 Jun 2008, 13:49
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READED TODAY
- Creating splitted rar archive files
- Converting MAC dfonts to TrueType
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Recovering Root Password
- Network interface status with mii-tool
- dropbear rsa key problem
- Calculating SHA Checksums
- Creating self-extracting zip archives for both Linux and Windows
- Disabling ssh password authentication
LAST ADDED
- Routing packets back from incoming interface
- Users with /bin/false shell to login on vsftpd
- Redirecting TCP ports with redir
- Assembly code of a C code
- Network interface status with mii-tool
- dropbear rsa key problem
- Displaying disk io statistics
- Disabling ssh password authentication
- Creating splitted rar archive files
- Creating self-extracting zip archives for both Linux and Windows
