#>> gem install mysql2 require 'mysql2' client = Mysql2::Client.new(:host => "localhost", :username => "root")