Created
December 20, 2014 04:23
-
-
Save anugrahbsoe/e132779431e20a482eca to your computer and use it in GitHub Desktop.
Konfigurasi Server/Host Database Mysql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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