You need to define CIVICRM_DSN in civicrm.settings.php