|
|
@ -4,7 +4,7 @@ function connection(): bool|int|mysqli
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
$username = "root"; //Get the username
|
|
|
|
$username = "root"; //Get the username
|
|
|
|
$host = "193.49.118.214"; //Get the url of the database
|
|
|
|
$host = "10.9.0.37"; //Get the url of the database
|
|
|
|
$password = $_ENV["ROOT_PASSWORD"]; //Get the password for the user selected
|
|
|
|
$password = $_ENV["ROOT_PASSWORD"]; //Get the password for the user selected
|
|
|
|
$db_name = $_ENV["DATABASE"]; //Get the name of the database
|
|
|
|
$db_name = $_ENV["DATABASE"]; //Get the name of the database
|
|
|
|
|
|
|
|
|
|
|
|