Closed GoogleCodeExporter closed 9 years ago
Thanks for the report. This is a bug. Needs proper escaping on SSH.
Original comment by Yoshinor...@gmail.com
on 14 Nov 2012 at 5:29
Proper escaping/unescaping is needed in the below scenario.
* Passing below characters via ssh command(shell). MySQL user and password may
be affected.
'"', '!', '#', '&', ';', '`', '|', '*',
'?', '~', '<', '>', '^', '(', ')', '[',
']', '{', '}', '$', ',', ' ', '\x0A', '\xFF', and ' and \
* apply_diff_relay_logs command needs unescaping these characters. slave_user
and slave_pass may be affected. Also, --user and --password parameters via
mysql command need to be quoted by ''. Single-quote needs to be escaped.
I'll create a patch and after passing test cases I'll publish to GitHub branch.
Original comment by Yoshinor...@gmail.com
on 15 Nov 2012 at 2:44
Fix is committed on GitHub development tree.
https://github.com/yoshinorim/mha4mysql-node
https://github.com/yoshinorim/mha4mysql-manager
You need to update both MHA Node and Manager packages.
This will be included in upcoming MHA 0.54 as well.
Closing this issue. Please reopen if you still repeat any problems.
Original comment by Yoshinor...@gmail.com
on 15 Nov 2012 at 7:56
Original issue reported on code.google.com by
obric...@balakam.com
on 14 Nov 2012 at 2:12