HomeMediacenter/php/database.php
2020-05-16 20:41:32 +02:00

21 lines
380 B
PHP
Executable File

<?php
$server = "172.17.0.2";
// $user = "mediacenter";
// $password = "lqdZ5bcsqI9eXaN9";
$user = "mediacenter";
$password = "w3xSBWWqvBFaLzmC";
$database = "mediacenter";
$link = new mysqli($server, $user, $password,$database);
if(mysqli_connect_errno())
{
echo "connecton failed... nr: ". mysqli_connect_errno(). " -- " . mysqli_connect_error();
}
echo "\n\nseas\n";
?>