JEJAK PETUALANG

April 6, 2009

Password MySQL UBUNTU

Filed under: Uncategorized
beginilah nasipnya kl harus menghapal  banyak password ampe lupa password mysql
Cara Pertama:
Gunakan perintah sudo dpkg-reconfigure mysql-server-5.0
Hal ini akan menampilkan layar pengisian password mysql untuk root yang baru
Cara Kedua:
Stop MySQL Server.
sudo /etc/init.d/mysql stop
Jalankan konfigurasi mysqld.
sudo mysqld –skip-grant-tables &
Login ke MySQL sebagai root.
mysql -u root mysql
Ganti kata PasswordBaruAnda dengan password yang akan diganti!
UPDATE user SET Password=PASSWORD(’PasswordBaruAnda’) WHERE User=’root’; FLUSH PRIVILEGES; exit;
Sumber:
http://ubuntu.flowconsult.at/en/mysql-set-change-reset-root-password/
http://ubuntu-tutorials.com/2008/01/08/how-to-reset-the-mysql-password-ubuntu-710/

Comments »

The URI to TrackBack this entry is: http://timorensis.blogsome.com/2009/04/06/password-mysql-ubuntu/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















Get free blog up and running in minutes with Blogsome
Theme designed by Naoko M