It needs to extract the port, if one is present, to pass host and port separately to mysql's -h and --port options.
anomie@terbium:~$ sql --group watchlist cswiki ERROR 2005 (HY000): Unknown MySQL server host 'db1103:3312' (-2)
It needs to extract the port, if one is present, to pass host and port separately to mysql's -h and --port options.
anomie@terbium:~$ sql --group watchlist cswiki ERROR 2005 (HY000): Unknown MySQL server host 'db1103:3312' (-2)
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix 'sql' script for multi-instance hosts | operations/puppet | production | +7 -1 |
Change 397912 had a related patch set uploaded (by Anomie; owner: Anomie):
[operations/puppet@production] Fix 'sql' script for multi-instance hosts
Change 397912 merged by Tim Starling:
[operations/puppet@production] Fix 'sql' script for multi-instance hosts