Fix DSN for PDO to use database_name and database_port from config.json.