Sha256: 1a19c0907f149bd03eb040a84abef39b2f09976c65126eacd452a786428eef1f

Contents?: true

Size: 274 Bytes

Versions: 11

Compression:

Stored size: 274 Bytes

Contents

module IsolatedServer
  class Mysql < Base
    module DBConnection
      def connection
        require 'mysql2'
        @cx ||= Mysql2::Client.new(:host => "127.0.0.1", :port => @port, :username => "root", :password => "", :database => "mysql")
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
isolated_server-0.4.12 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.11 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.10 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.9 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.8 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.7 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.6 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.5 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.4 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.3 lib/isolated_server/mysql/mysql2_connection.rb
isolated_server-0.4.2 lib/isolated_server/mysql/mysql2_connection.rb