Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # worker and admin, where i need to write
- production:
- adapter: mysql2
- encoding: utf8
- reconnect: false
- database: my_huge_db_production
- pool: 5
- username: full_access_user
- password: password
- socket: /tmp/mysql.sock
- # api, where i only need to read
- production:
- adapter: mysql2
- encoding: utf8
- reconnect: false
- database: my_huge_db_production
- pool: 5
- username: only_read_access_user
- password: password
- socket: /tmp/mysql.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement