Correction of database connection for dev mode.