Database configuration for localhost