übersicht fertig (index)

This commit is contained in:
br committed 2023-01-02 23:16:28 +01:00
1 parent 4a79f6f199
commit a25196848d
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
<?php
/* Database credentials. Assuming you are running MySQL
server with default setting (user 'root' with no password) */
define('DB_SERVER', 'db3.rack1.everdc.de');
define('DB_USERNAME', 'bruno');
define('DB_PASSWORD', 'bruno-zehn');
define('DB_NAME', 'voctrain');
require_once("./local-config.php");
/* Attempt to connect to MySQL database */
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
// Check connection
if($link === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
?>