mysql pass mismatch

This commit is contained in:
Milan Toman
2024-02-21 09:08:45 +01:00
parent 91f79450a7
commit cffbdcb13d
2 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,11 @@ server {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /admin {
auth_basic "Administrators Area";
auth_basic conf/htpasswd;
}
}
#server {
# listen 82 default_server;

View File

@@ -2,7 +2,7 @@
//phpinfo();
$servername = "db";
$username = 'kalskeborec';
$password = 'Kalskeborec1!23$';
$password = 'kalskeborec!#@$$';
// Create connection
$conn = new mysqli($servername, $username, $password);
@@ -11,7 +11,7 @@ $conn = new mysqli($servername, $username, $password);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
//echo "Connected successfully";
?>