metasploit-framework/lib/rbmysql
HD Moore 72dff03426 FixRM #8396 change all lib use of regex to 8-bit pattern 2013-09-12 16:58:49 -05:00
..
README Rename to rbmysql, fix main script as well 2009-12-26 04:06:40 +00:00
charset.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
compat.rb FixRM #8396 change all lib use of regex to 8-bit pattern 2013-09-12 16:58:49 -05:00
constants.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
error.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
protocol.rb Retab lib 2013-08-30 16:28:33 -05: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

使用例:

 Mysql.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