Wednesday, August 8, 2012

0

Setting Password MySQL

  • Wednesday, August 8, 2012
  • Unknown
  • Pada MySql biasanya kita tidak pernah memasukkan password saat ingin login ke mysql,
    pada kali ini saya akan berbagi tips untuk membuat password di mysql....
    1. Login ke mysql dengan user root
      mysql -u root</li>
    2. Gunakan database mysql
      mysql> use mysql;
    3. Update tabel user, isi field password dengan password_baru untuk User = root
      mysql> update user set password=PASSWORD("password_baru") where User='root';
    4. Reload hak akses/privileges
      mysql> flush privileges;
    5. Keluar dari mysql
      mysql> quit;
    6. Coba login kembali menggunakan password
      mysql -u root -p

    0 Responses to “Setting Password MySQL”


    *Important - If you want to be informed of any replies to your comment, check the "Subscribe By Email" before submitting. Please Do Not Spam

    Post a Comment

    Our Affiliate