There's a lot of open issues
A long-lived project that still receives updates
This is MySQL connector. pure Ruby version
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies
 Project Readme

ruby-mysql

Description

MySQL connector for Ruby.

Installation

gem install ruby-mysql

Synopsis

my = Mysql.connect('mysql://username:password@hostname:port/dbname?charset=utf8mb4')
my.query("select col1, col2 from tblname").each do |col1, col2|
  p col1, col2
end
stmt = my.prepare('insert into tblname (col1,col2) values (?,?)')
stmt.execute 123, 'abc'

Copyright

  • Author: TOMITA Masahiro tommy@tmtm.org
  • Copyright: Copyright 2008 TOMITA Masahiro
  • License: MIT