Skip to content

Instantly share code, notes, and snippets.

@anugrahbsoe
Created December 20, 2014 04:23
Show Gist options
  • Save anugrahbsoe/e132779431e20a482eca to your computer and use it in GitHub Desktop.
Save anugrahbsoe/e132779431e20a482eca to your computer and use it in GitHub Desktop.
Konfigurasi Server/Host Database Mysql
- Trik setting akses host mysql server
//akses mysql menggunakan user (u) dan password (p)
mysql -u root -p
//masuk ke mysql
Enter password:
mysql> use mysql;
//berikan akses penuh untuk user menggunakan IP - IP kita adalah 180.251.179.200/ip dari salamweb
mysql> GRANT ALL ON *.* to root@'180.251.179.200' IDENTIFIED BY 'root';
//flush hak akes
mysql> FLUSH PRIVILEGES;
/*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment