1. Write the result of the badblocks search to a file:
sudo badblocks /dev/sdb > /home/user/badblocks
2. Use fsck to set badblocks as unusable
sudo fsck -l badblocks /dev/sdb
1. Write the result of the badblocks search to a file:
sudo badblocks /dev/sdb > /home/user/badblocks
2. Use fsck to set badblocks as unusable
sudo fsck -l badblocks /dev/sdb
ps aux | grep mysql
/usr/sbin/mysqld –skip-grant-tables &
UPDATE mysql.user SET Password=PASSWORD(‘NeWPaSSwOrD’) WHERE User=’root’;
FLUSH PRIVILEGES;
——
EDIT:
try this:
mysqladmin -u root password NEWPASSWORD