feat: perbaikan pada koneksi database

This commit is contained in:
2026-06-10 01:03:10 +07:00
parent 4f85bedfc3
commit 879d683a05
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ if ($host_sekarang === 'localhost' || $host_sekarang === '127.0.0.1') {
$db = "webgis_db";
} else {
// Gunakan Kredensial Normal User dari Coolify
$host = "mysql-webgis";
$host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
$db = "webgis_db";
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
// Kredensial ROOT internal Coolify
$host = "mysql-webgis";
$host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root";
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL";
$conn = new mysqli($host, $user, $pass);
+1 -1
View File
@@ -8,7 +8,7 @@ if ($host_sekarang === 'localhost' || $host_sekarang === '127.0.0.1') {
$db = "webgis_db_pertemuan1";
} else {
// Gunakan Kredensial Normal User dari Coolify
$host = "mysql-webgis";
$host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
$db = "webgis_db_pertemuan1";
+1 -1
View File
@@ -8,7 +8,7 @@ if ($host_sekarang === 'localhost' || $host_sekarang === '127.0.0.1') {
$db = "webgis_db_pertemuan2";
} else {
// Gunakan Kredensial Normal User dari Coolify
$host = "mysql-webgis";
$host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
$db = "webgis_db_pertemuan2";