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
On this page
Latest version 4.2.1. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
ruby-mysql 3.0.0 breaking changes
- Removed
bind_result
Code calling bind_result will no longer work. github.com - Removed
client_info
Code calling client_info will no longer work. github.com - Removed
client_version
Code calling client_version will no longer work. github.com - Removed
get_host_info
Use host_info instead of get_host_info. github.com - Removed
get_proto_info
Code calling get_proto_info will no longer work. github.com - Removed
get_server_info
Code calling get_server_info will no longer work. github.com - Removed
get_server_version
Code calling get_server_version will no longer work. github.com - Removed
list_dbs
Use SHOW DATABASES instead of list_dbs. github.com - Removed
list_fields
Use SHOW COLUMNS instead of list_fields. github.com - Removed
list_processes
Use SHOW PROCESSLIST instead of list_processes. github.com - Removed
list_tables
Use SHOW TABLES instead of list_tables. github.com - Removed
Mysql.init
Use Mysql.new instead of Mysql.init. github.com - Removed
Mysql.options
Set options with Mysql#param = value, or pass them as keyword arguments to Mysql.connect. github.com - Removed
Mysql.Time
DATE, DATETIME and TIMESTAMP values now come back as Time objects, and TIME values as Integer. github.com - Removed
proto_info
Code calling proto_info will no longer work. github.com - Removed
query_with_result
Code calling query_with_result will no longer work. github.com - Removed
real_connect
Use connect instead of real_connect. github.com - Removed
real_query
Use query instead of real_query. github.com - Behavior changed
Mysql.new
Mysql.new only creates the object now. Call Mysql.connect or Mysql#connect to open the connection. github.com - Signature changed
Mysql.connect
Mysql#connect now takes a URI object, URI string or Hash instead of the old positional arguments. github.com - Signature changed
Mysql.new
Mysql.new now takes a URI object, URI string or Hash instead of the old positional arguments. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.