PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : Reset Forgotten MySQL Root Password



Metalik
November 26th, 2010, 16:02
Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords


mysqld_safe –skip-grant-tables


mysql –user=root mysql


update user set Password=PASSWORD(‘new-password’) where user=’root’;
flush privileges;
exit;

Now kill your running mysqld, then restart it normally

secure_host
November 29th, 2010, 11:39
مقاله ای نیز در لینک زیر موجود است .
فراموشی و تغییر رمز root در mysql (http://fahomag.com/index.php/articles/47-mysql/227-mysql-reset-lost-root-password)