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

Get-MySqlPort Regex should be "^port\s*=" to allow for whitespace in my.ini #18

Open
andy1547 opened this issue Apr 6, 2017 · 0 comments
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.

Comments

@andy1547
Copy link

andy1547 commented Apr 6, 2017

Additionally it should trim the port of whitespace.
if ($line -match "^port\s*=") { $mySqlPort = ($line -split '=')[1].Trim() }
Willing to submit a PR.

@johlju johlju added bug The issue is a bug. in progress The issue is being actively worked on by someone. labels May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

No branches or pull requests

2 participants