Database-connected program

How do I make a database-connected program in Project IDX with the xampp on my computer

If you use Laravel, all you need to do is set it in the .env file and delete the brackets in all the DB Host to DB Password sections. Next, still in the same file, you can change the DB-Connection section which is filled with sqlite and replaced with mysql.