metasploit-framework/lib/rbmysql
h00die 6a851855a8 spelling fixes for lib folder 2024-01-06 15:54:49 -05:00
..
README Update RbMysql to the most recent code from this gem https://github.com/tmtm/ruby-mysql 2021-04-01 14:17:28 +01:00
charset.rb spelling fixes for lib folder 2024-01-06 15:54:49 -05:00
constants.rb Update RbMysql to the most recent code from this gem https://github.com/tmtm/ruby-mysql 2021-04-01 14:17:28 +01:00
error.rb Update RbMysql to the most recent code from this gem https://github.com/tmtm/ruby-mysql 2021-04-01 14:17:28 +01:00
packet.rb Update RbMysql to the most recent code from this gem https://github.com/tmtm/ruby-mysql 2021-04-01 14:17:28 +01:00
protocol.rb Fix broken mysql_authbypass_hashdump module 2023-08-17 23:41:43 +01:00

README

= ruby-mysql

== Description
MySQL connector for Ruby.

ALPHA バージョンです。将来のバージョンで互換がない変更がされる可能性があります。

== Installation

 ruby setup.rb

=== Gem Installation

 gem install tmtm-ruby-mysql --source http://gems.github.com

== Features/Problems

* Ruby だけで書かれているのでコンパイル不要です。
* Ruby 1.9 の M17N に対応しています。
* Ruby/MySQL 0.x, MySQL/Ruby 2.x とは互換がありません。
  require "mysql/compat" すれば、MySQL/Ruby 2.x 用のプログラムもそこそこ動くかもしれません。
* 英語ドキュメントがありません。

== Synopsis

使用例:

 RbMysql.connect("mysql://username:password@hostname:3306/dbname") do |my|
   my.query("select col1, col2 from tblname").each do |col1, col2|
     p col1, col2
   end
   my.query("insert into tblname (col1,col2) values (?,?)", 123, "abc")
 end

== Copyright

Author::    tommy <tommy@tmtm.org>
Copyright:: Copyright (c) 2009 tommy
License::   Ruby's