Senin, 21 Maret 2011

Mengganti Password root di Mysql

Cara mengganti password root di mysql :
1. Masuk ke database mysql
2. Ketikkan perintah sql berikut.
update user set password=password('123456') where host = 'localhost'; 
atau
update user set password=password('123456') where user = 'root';
3. Setelah password udah diganti, langkah terakhir ketikan perintah sql dibawah ini.
flush privileges;
Selesai...., password sudah berganti dengan 123456.

GOOD LUCK,..

0 komentar:

Posting Komentar

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Justin Bieber, Gold Price in India