Registry / database / r2d2-mysql

r2d2-mysql

JSON →
library25.0.0rscratesunverified

MySQL support for the r2d2 connection pool.

# Cargo.toml [dependencies] r2d2_mysql = "25.0.0"
INSTALL
IMPORT
SIG · R2D2-MYSQL
R
r2d2-mysql
databaserustv25.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MysqlConnectionManager
use r2d2_mysql::MysqlConnectionManager;

Creates a MySQL connection pool.

use r2d2_mysql::MysqlConnectionManager; use r2d2::Pool; let manager = MysqlConnectionManager::new("mysql://user:pass@localhost/db").unwrap(); let pool = Pool::builder().build(manager).unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
25.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
r2d2-mysql — cargo add r2d2-mysql · libregistry