HomeMediacenter/php/database.php

21 lines
380 B
PHP
Raw Normal View History

2020-05-16 18:41:32 +00:00
<?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";
?>