Skip to content

KSA-De-Biekorf/tiny_mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Tiny mysql versie op onze server

Resources

License

Stars

Watchers

Forks

Languages

  • Ruby 96.2%
  • Shell 3.8%