Is there a database link error with php Database Exception Caused by: PDOException?

I am a student of java, and my teacher gave me a php project (I don"t understand that php), has made a mistake, as shown in the following picture, ask for help from the great gods.



usename = "root";password = 1234;php

dbname=demo

Php
Mar.07,2021

the database connection failed. Check the database configuration information in your configuration file
configuration file location common/config/main-local.php

Menu