No description, website, or topics provided.
C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
hedis.h
main.c

README.md

hedis-connector-mysql

Configuration

mysqltest:
  type: mysql
  username: MY_USERNAME
  password: MY_PASSWORD
  host: MY_LOCALHOST
  database: MY_DATABASE
  env:
    LD_LIBRARY_PATH: $LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu

Requirement

  • Debian / Ubuntu
sudo apt-get install libmysqlclient-dev

Build & Install

make
sudo make install

Command Syntax

.+

Example

"select name from user limit 1" will return one "name" field at "user" table

Return value

{
  "columns": {
    "id": [
      "1",
      "2",
      "3",
      "4"
    ],
    "name": [
      "kewang",
      "iris",
      "NULL",
      "mitake"
    ]
  }
}