Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lienren committed Jan 10, 2018
1 parent e4fdad9 commit 9169dd4
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ SET FOREIGN_KEY_CHECKS = 1;

## Configs

./configs/mysql_config.json
### Mysql Config

> config file path './configs/mysql_config.json'
```bash
{
Expand All @@ -46,6 +48,30 @@ SET FOREIGN_KEY_CHECKS = 1;
}
```

### Redis Config

> config file path './configs/redis_config.json'
```bash
{
"port": 6379,
"host": "127.0.0.1",
"db": 0
}
```

other config

```
{
port: 6379, // Redis port
host: '127.0.0.1', // Redis host
family: 4, // 4 (IPv4) or 6 (IPv6)
password: 'auth',
db: 0
}
```

## Utils

[mysql-helper-simple](https://github.com/lienren/mysql-helper)
Expand Down

0 comments on commit 9169dd4

Please sign in to comment.