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

[db-console] it should be possible to give stdin to the console (like a file) #199

Closed
Soulou opened this Issue Jan 21, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@Soulou
Member

Soulou commented Jan 21, 2016

scalingo mysql-console < file.sql

Should be working, currently it fails with:

-----> Connecting to container [one-off-1]... - ! An error occured: 
Fail to run MySQL console: exit status 1

@Soulou Soulou closed this in f6a4b7e Apr 1, 2016

Soulou added a commit that referenced this issue Apr 1, 2016

Merge pull request #206 from Scalingo/fix_input_file
Accept non-tty stdin for one-off container, like file redirection or pipe Fixes #199
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment