Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemysql1

MySQL and MariaDB database driver for Dart and Flutter

pub.devRemove
mysql_client

Native MySQL and MariaDB client written in Dart.

pub.devRemove
ScoresHealth83 (best)50
Maintenance98 (best)0
Quality100 (best)91
Popularity71 (best)70
Community45 (best)34
Compatibility8585
UsageDownloads (30 days)11k14k (best)
Likes494 (best)186
Pub points160 / 160 (best)140 / 160
GitHub stars134 (best)70
MaintenanceLatest release0.23.0, 3 days ago (best)0.0.27, 4 years ago
Major versions in 12 months00
Contributors21 (best)6
PublisherUnverifiedUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies43 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Keeps behavior and defaults close to major MySQL drivers and package:postgres
  • Supports connection settings, parameterized queries, and batch multi-queries
  • Native Dart implementation with no external C/C++ bindings required.
  • Supports connection pooling, transactions, and real prepared statements.
  • Supports TLS/SSL connections and multiple authentication methods.
Weaknesses
  • Does not work on Flutter Web due to socket limitations
  • DECIMAL values are read as Strings, requiring manual parsing or third-party types for math
  • Exposing direct database credentials in a client-side Flutter application is generally a security risk unless used for server-side Dart.
  • Limited to MySQL and MariaDB.
Warnings
  • Unverified publisher
  • Unverified publisher
mysql1 vs mysql_client: which Flutter package should you use? | pubscout