Skip to content
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

change -mysql_server_bind_address #5386

Conversation

lokune
Copy link
Contributor

@lokune lokune commented Oct 31, 2019

Signed-off-by: lokune <laban.okune@ma3route.com>
@lokune lokune requested a review from sougou as a code owner October 31, 2019 21:47
@morgo
Copy link
Contributor

morgo commented Nov 7, 2019

@enisoc do you know if there are any security consequences here, or is this straight forward to merge?

@morgo morgo requested a review from enisoc November 7, 2019 23:52
@enisoc
Copy link
Member

enisoc commented Nov 8, 2019

I would prefer to make this passed in as an option, with the default still being localhost since that's more secure. Would that still work for your use case @lokune?

@lokune
Copy link
Contributor Author

lokune commented Nov 8, 2019

@enisoc, I was thinking of the same, and yes it will still work for my use case but I assumed it should be fine as is since this is the test module?

@enisoc
Copy link
Member

enisoc commented Nov 8, 2019

I was thinking that we wouldn't want people to run something as a test and unintentionally expose a server over the network.

@lokune
Copy link
Contributor Author

lokune commented Nov 8, 2019

Makes sense... Seems like there has to be changes in vttest/run_local_database.py, local_database.py and vttest/vt_processes.py. Would you like to take over from here? I can also try if you are busy but I would prefer someone more experienced with Vitess codebase.

Signed-off-by: lokune <laban.okune@ma3route.com>
@lokune lokune force-pushed the lokune/change_mysql_server_bind_address_for_vttest_py branch from 8efeec3 to 3d36f61 Compare November 13, 2019 16:49
@lokune
Copy link
Contributor Author

lokune commented Nov 13, 2019

@enisoc, I decided to give it a shot and made the changes as per your suggestion. Let me know what you think. cc @morgo

@sougou sougou requested a review from morgo December 1, 2019 00:24
Copy link
Contributor

@morgo morgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morgo morgo merged commit fae58cc into vitessio:master Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants