Site went offline, Error: connect ECONNREFUSED 127.0.0.1:3306

I’m not sure how I can fix this.
I’m guessing the database got corrupted?

Logs:

[2022-09-16 20:56:24] ERROR connect ECONNREFUSED 127.0.0.1:3306
connect ECONNREFUSED 127.0.0.1:3306
"Unknown database error"
Error ID:
    500
Error Code: 
    ECONNREFUSED
----------------------------------------
Error: connect ECONNREFUSED 127.0.0.1:3306
    at /var/lib/ghost/versions/5.14.1/node_modules/knex-migrator/lib/database.js:57:19
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)
[2022-09-16 20:56:24] WARN Ghost is shutting down
[2022-09-16 20:56:24] WARN Ghost has shut down
[2022-09-16 20:56:24] WARN Your site is now offline
[2022-09-16 20:56:24] WARN Ghost was running for a few seconds

Any suggestions are appreciated!

@Kenji_Bailly – looks similar to the problem described here… have you tried the fix provided?