diff --git a/init-db.sql b/init-db.sql index cf6948d..547187a 100644 --- a/init-db.sql +++ b/init-db.sql @@ -158,3 +158,8 @@ CREATE TABLE `tanah` ( `geom` text, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- Grant privileges on both databases to webgis_user +GRANT ALL PRIVILEGES ON poverty_db.* TO 'webgis_user'@'%'; +GRANT ALL PRIVILEGES ON spbu_db.* TO 'webgis_user'@'%'; +FLUSH PRIVILEGES; diff --git a/tugas-spbu/index.html b/tugas-spbu/index.html index 4bba38d..f0db3a6 100644 --- a/tugas-spbu/index.html +++ b/tugas-spbu/index.html @@ -48,11 +48,6 @@ -
- Guest Mode - -
-