add link to AR Mysql driver docs for option list

This commit is contained in:
Brian Lopez 2010-04-05 22:46:56 -07:00
parent 807f0a2730
commit 0a089e5c76
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Connect to a database:
# this takes a hash of options, almost all of which map directly
# to the familiar database.yml in rails
# NOTE: ssl option support coming really soon
# See http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/MysqlAdapter.html
client = Mysql2::Client.new(:host => "localhost", :username => "root")
Then query it: