Unable to install invoice plane in my localhost xampp

i am new to this group ,i am trying to install invoice plane in my XAMPP local host shows the error

Cannot connect to the database server with the provided database information. Please check the credentials and try again.

Please somebody help me.

That clearly indicates an error with your DB credentials or even your DB setup. Nothing InvoicePlane can help directly. I would recommend googling how to setup XAMPP properly.

Please also make sure you are using XAMPP with compatible versions (so no PHP 8 or 8.1)