Insert USER MySQL

CREATE USER ‘usr’@’localhost’ IDENTIFIED BY ‘pss’;

GRANT ALL PRIVILEGES ON *.* TO ‘usr’@’localhost’ WITH GRANT OPTION;

// Akses hanya dari localhost

 

 

CREATE USER ‘usr’@’%’ IDENTIFIED BY ‘pss’;

GRANT ALL PRIVILEGES ON *.* TO ‘usr’@’%’ WITH GRANT OPTION;

// Akses dari luar localhost

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s