Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyMysql

Tiny MySQL clinet dependent on mysql command.

Installation

Add this line to your application's Gemfile:

gem 'tiny_mysql'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tiny_mysql

Usage

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"},
#     ...

About

Lightweight MySQL client built on mysql command

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages