I got Plesk installed a while ago with mariadb, now unfortuantely mysql_upgrade fails because it cannot find the socket. Actually Plesk did auto-update, and I suppose mariadb got also updated, which triggered the mysql_upgrde, which failed (which lead to an error 500, same as this one).
By...