configured database.php to remote database