Skip to content

Instantly share code, notes, and snippets.

@posulliv
Created November 27, 2010 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save posulliv/717571 to your computer and use it in GitHub Desktop.
Save posulliv/717571 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'drizzle'
require 'drizzle/connection'
host = "localhost"
port = 4427
db = "test"
con_opts = [ Drizzle::INJECTION_PREVENTION ]
conn = Drizzle::Connection.new(host, port, db, con_opts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment