Jumat, 02 Maret 2012

Reset Password Root Mysql di fedora 16

  1. service mysql stop
  2. mysqld_safe --skip-grant-tables
  3. mysql -u root
  4. use mysql
  5. update user set Password=PASSWORD('password-baru') where user='root';
  6. flush privileges;
  7. exit;
  8. systemctl start mysqld.service