As long as it doesn't say something like "call to unknown function mysqli_connect", you know mysqli is operating.
Exactly what error are you getting? While sometimes cryptic, error messages usually point to what the problem is.
Which is usually,
wrong host name
wrong user name and/or...