<?php
//error_reporting(E_ALL);
$host = "localhost";
$user = "aysyfeom_onix";
$password = "aysyfeom_onix";
$database = "aysyfeom_onix";
$conn = mysqli_connect($host, $user, $password, $database) or die('Database connection failed');
//cek koneksi 
if ($conn) {
    //echo "berhasil koneksi"; 
} else {
    echo "gagal koneksi";
}
