2020-05-16 18:18:32 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$server = "172.17.0.2";
|
|
|
|
$user = "mwit";
|
|
|
|
$password = "3MnDApF3bu6XDGOE";
|
|
|
|
$database = "mwitdb";
|
|
|
|
|
2020-05-18 20:55:26 +00:00
|
|
|
$mysqli = new mysqli($server, $user, $password, $database);
|
|
|
|
if ($mysqli->connect_errno) {
|
|
|
|
echo "connecton failed... nr: " . $mysqli->connect_errno . " -- " . $mysqli->connect_error;
|
2020-05-16 18:18:32 +00:00
|
|
|
}
|