Database problem: Failure Cannot connect to the database server

Hi,

I try to setup invoicplane in my webhosting but i keep gitting this message “Failure Cannot connect to the database server”

First of all what should i write in Hostname ?
my domain name or server ip or what?
because i try both of them and the same problem happen.

Also i’m sure about my database details is correct.

Thank you.:slight_smile:

The hostname is localhost in 90% of all cases.

Thank you.
That solved my problem.