added database configuration for production, moved to mysql2