Sha256: 00c44215d2b86fa943226403201b1e17d37f453c6d427f48df2c80b753c4af44

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 Bytes

Contents

# TinyMysql

Tiny MySQL clinet dependent on [mysql](https://dev.mysql.com/doc/refman/5.7/en/mysql.html) command.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'tiny_mysql'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install tiny_mysql

## Usage

```ruby
require 'pp'

mysql = TinyMysql.new(username: 'scott', password: 'tiger', database: 'mysql')

pp mysql.query('show tables')
# => [{"Tables_in_mysql"=>"columns_priv"},
#     {"Tables_in_mysql"=>"db"},
#     {"Tables_in_mysql"=>"event"},
#     ...

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tiny_mysql-0.1.1 README.md
tiny_mysql-0.1.0 README.md