fix (security): memperbaiki keamanan koneksi ke database

This commit is contained in:
2026-06-10 08:42:26 +07:00
parent 1cccc69e14
commit 94968e6b0b
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
} else { } else {
// Gunakan Kredensial Normal User dari Coolify // Gunakan Kredensial Normal User dari Coolify
$host = "b84c4osgw4kcw0wc8o8cg8cg"; $host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user $user = "mysql"; // Menggunakan normal user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password $pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
$db = "webgis_db"; $db = "webgis_db";
} }
+2 -2
View File
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
} else { } else {
// Gunakan Kredensial Normal User dari Coolify // Gunakan Kredensial Normal User dari Coolify
$host = "b84c4osgw4kcw0wc8o8cg8cg"; $host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user $user = "mysql"; // Menggunakan normal user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password $pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
$db = "webgis_db_pertemuan1"; $db = "webgis_db_pertemuan1";
} }
+2 -2
View File
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
} else { } else {
// Gunakan Kredensial Normal User dari Coolify // Gunakan Kredensial Normal User dari Coolify
$host = "b84c4osgw4kcw0wc8o8cg8cg"; $host = "b84c4osgw4kcw0wc8o8cg8cg";
$user = "root"; // Menggunakan root user $user = "mysql"; // Menggunakan normal user
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password $pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
$db = "webgis_db_pertemuan2"; $db = "webgis_db_pertemuan2";
} }