I am running PHP Server and Live Server extension on Vscode on my Windows machine. I am trying to open a .php file in my browser so I can easily see front-end changes.
However, this is what I see:
Php page:

Error:

This is the error:
Database connection failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
These are my settings in PHP server extension:

And these are my settings in the Live Server Chrome extension:

What could possibly be wrong?
I have xampp installed, the plugins installed, entered the settings as seen above, but it somehow doesnt show me the php page that I am trying to open.