Skip to content

Instantly share code, notes, and snippets.

@tpoland
tpoland / connect.rb
Last active Sep 28, 2016 — forked from crigor/connect.rb
Modified version of tpol's script. Uses mysql2 gem.
View connect.rb
#!/usr/bin/ruby
# gem install mysql2 -v 0.3.12b6
require 'rubygems'
require 'json'
#require 'mysql'
require 'mysql2'
def usage
You can’t perform that action at this time.