-
Notifications
You must be signed in to change notification settings - Fork 13
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 max connections and password capabilities. #151
Conversation
Adding a test to avoid a decrease in coverage % would be nice, but otherwise looks good. |
Codecov Report
@@ Coverage Diff @@
## master #151 +/- ##
==========================================
+ Coverage 41.95% 42.57% +0.62%
==========================================
Files 23 23
Lines 963 970 +7
==========================================
+ Hits 404 413 +9
+ Misses 559 557 -2
Continue to review full report at Codecov.
|
doltpy/sql/sql.py
Outdated
f"mysql+mysqlconnector://{user}@{host}:{port}/{database}", | ||
echo=self.server_config.echo, | ||
) | ||
if password: |
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.
is password is not None
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.
lgtm, in the future add tests if you add lines of code
This pr introduces ability to connect with mysql with a password as well as introduces the max_connections flag.