-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ability to use unix "socketPath" for establish connection #11
Conversation
* commit 'f50689da650c8218301819c4f31703d9a658033b': 3.0.1 Update eslint 3.0.0 Follow-up to d9d31aa Update machine runner to v15. (refs balderdashy/sails#4264) # Conflicts: # package.json
@andrew-lyashenko thanks! Would you mind writing up some sample usage? e.g. what would I put in my |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sure. Here is an example config:
default: {
adapter: 'sails-mysql',
user: 'db_user',
password: 'db_password',
database: 'db_name',
socketPath: '/path/to/unix_socket'
} |
What is the status of this issue? |
@semy @andrew-lyashenko Thanks for following up in Gitter y'all -- I set aside some time to review this weekend |
@semy @andrew-lyashenko thanks! I'll also get this change into https://github.com/mikermcneil/sails-sql -- I want to add some more configuration checks as well since mismatched db config is one of the most common thing folks new to the framework get confused about (e.g. can't specify both |
… explaining what's up w/ the meta
Hi there!
Can you please accept my pull request to add ability to use "socketPath" option for mysql?