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

Add --host and --port parameters #2

Open
Ricardocanul7 opened this issue May 16, 2024 · 1 comment
Open

Add --host and --port parameters #2

Ricardocanul7 opened this issue May 16, 2024 · 1 comment

Comments

@Ricardocanul7
Copy link

Could it be possible to add --host and --port options to the command?

I have a case where I have a separate docker container for a database so I have to communicate my node container to my DB container, so after installing in my node container the dbdump package and also mysql-client to satisfy mysqldump command requirement in dbdump , I'm able to connect with my DB container using raw mysqldump, but when trying to use dbdump it doesn't work as it needs the host and port values to connect to a remote database and apparently those options are not available.

@Ricardocanul7
Copy link
Author

cmd += `-u ${user} ${password ? '-p' + (password === true ? '' : password) : ''} ${db}`;

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

No branches or pull requests

1 participant