Last active
December 12, 2019 00:23
-
-
Save gitDbits/2ceedf53c6ba65ff883960edcdbe55f5 to your computer and use it in GitHub Desktop.
Example Mysql config Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default: &default | |
| adapter: mysql2 | |
| encoding: utf8 | |
| pool: 5 | |
| socket: /tmp/mysql.sock | |
| development: | |
| <<: *default | |
| database: db_dev | |
| username: root | |
| password: | |
| # Warning: The database defined as "test" will be erased and | |
| # re-generated from your development database when you run "rake". | |
| # Do not set this db to the same as development or production. | |
| test: | |
| <<: *default | |
| database: db_test | |
| username: root | |
| password: | |
| production: | |
| <<: *default | |
| database: db_prod | |
| username: root | |
| password: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment