I had no idea what to do, so I Googled it Found this link below and tried the repair thing as the settings were in the config file as expected: https://dba.stackexchange.com/questions/269450/warning-mysqli-real-connect-hy000-2002-connection-refused-in-var-www-htm But then suddenly, my config file contents became my homepage contents! Including my database…