Migration Guide: 1.1 to 2.0
MariaDB Connector/Python 2.0 migration covers renamed parameters, removed auto-reconnect, updated pooling, URI connections, async/await support, and a migration checklist.
API Reference
Overview
Installation Changes
Version 1.1 Installation
Version 2.0 Installation Options
Key Changes
Breaking Changes
1. Removed: Auto-Reconnect
2. Removed: cursor_type Parameter
3. Deprecated: prepared (use binary)
4. Changed: Binary Protocol Behavior
5. Connection Pooling Now Separate Package
6. Removed: plugin_dir in Pure Python
New Features
1. URI Connection Strings
2. Async/Await Support
3. Connection-Level Binary Protocol
4. Prepared Statement Caching
Migration Checklist
Step 1: Update Installation
Step 2: Update Cursor Creation
Step 3: Remove Auto-Reconnect Logic
Performance Considerations
Prepared Statement Caching
When to Use Binary Protocol
Async for High Concurrency
Compatibility Notes
Python Version Support
Server Compatibility
API Compatibility
Last updated
Was this helpful?

