---
title: "ruby-mysql 3.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each ruby-mysql release removed, renamed or changed: 21 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/ruby-mysql
last_updated: 2026-12-04
---

# ruby-mysql breaking changes

ruby-mysql 3.0.0 (November 16, 2021) is its newest release with breaking changes, 21 of them. The first: Removed bind_result. Every breaking API change we have recorded in ruby-mysql on RubyGems: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.1`. [Source repository](https://github.com/tmtm/ruby-mysql)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## ruby-mysql 3.0.0 breaking changes

ruby-mysql 3.0.0, released November 16, 2021: 21 breaking changes.

- **Removed** `bind_result`  

Code calling bind_result will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `client_info`  

Code calling client_info will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `client_version`  

Code calling client_version will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `get_host_info`  

Use host_info instead of get_host_info. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `get_proto_info`  

Code calling get_proto_info will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `get_server_info`  

Code calling get_server_info will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `get_server_version`  

Code calling get_server_version will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `list_dbs`  

Use SHOW DATABASES instead of list_dbs. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `list_fields`  

Use SHOW COLUMNS instead of list_fields. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `list_processes`  

Use SHOW PROCESSLIST instead of list_processes. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `list_tables`  

Use SHOW TABLES instead of list_tables. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `Mysql.init`  

Use Mysql.new instead of Mysql.init. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `Mysql.options`  

Set options with Mysql#param = value, or pass them as keyword arguments to Mysql.connect. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `Mysql.Time`  

DATE, DATETIME and TIMESTAMP values now come back as Time objects, and TIME values as Integer. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `proto_info`  

Code calling proto_info will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `query_with_result`  

Code calling query_with_result will no longer work. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `real_connect`  

Use connect instead of real_connect. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Removed** `real_query`  

Use query instead of real_query. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `Mysql.new`  

Mysql.new only creates the object now. Call Mysql.connect or Mysql#connect to open the connection. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Signature changed** `Mysql.connect`  

Mysql#connect now takes a URI object, URI string or Hash instead of the old positional arguments. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)
- **Signature changed** `Mysql.new`  

Mysql.new now takes a URI object, URI string or Hash instead of the old positional arguments. [github.com](https://github.com/tmtm/ruby-mysql/blob/v3.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
