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

Running ghost install with --no-prompt option fails if mysql is not installed #410

Closed
acburdine opened this issue Jul 31, 2017 · 2 comments · Fixed by #411
Closed

Running ghost install with --no-prompt option fails if mysql is not installed #410

acburdine opened this issue Jul 31, 2017 · 2 comments · Fixed by #411
Assignees
Labels

Comments

@acburdine
Copy link
Member

See #318 (comment)

We should throw an error and exit rather than prompt if --no-prompt is passed as an option.

@acburdine acburdine added the bug label Jul 31, 2017
@acburdine acburdine self-assigned this Jul 31, 2017
@mathiasjakobsen
Copy link

mathiasjakobsen commented Jul 31, 2017

@acburdine, throwing an error is not corresponding with the UI message?

Local MySQL install not found. You can ignore this if you are using a remote MySQL host.

In my case I'm actually running a remote database, which shouldn't cause the setup too fail.

@acburdine
Copy link
Member Author

oooh ok, yeah that's a good point - will add that check in.

acburdine added a commit to acburdine/Ghost-CLI that referenced this issue Jul 31, 2017
closes TryGhost#410
- throw errors instead if prompts are disabled
- fix error if remote mysql host is used
acburdine added a commit that referenced this issue Jul 31, 2017
closes #410
- throw errors instead if prompts are disabled
- fix error if remote mysql host is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants