MySQL adapter for the Any-DB library (v2.3.0, last updated 2014). Provides a database-agnostic query interface using the mysql driver underneath. Designed for apps that want to switch between SQL backends with minimal code changes; exposes all mysql-specific methods on connections/queries. Unmaintained since 2014; use at your own risk.
npm install any-db-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a MySQL connection via any-db, runs a simple query, and logs the result.
Migrate to mysql2 or another actively maintained MySQL driver.
Use require('any-db') with a mysql:// connection URL; do not import any-db-mysql directly.Stick to any-db v2.1.x or upgrade to a different database abstraction library.
npm install any-db@~2.1.0
Use a valid URL: mysql://user:password@host:port/database
Check network connectivity and hostname spelling.