github / ccql

**No longer maintained, archived Feb 2023** Multi server MySQL client
MIT License
322 stars 55 forks source link

ccql is relaxed in parsing config file #33

Closed shlomi-noach closed 8 years ago

shlomi-noach commented 8 years ago

Storyline: https://github.com/github/ccql/issues/31

ccql is now relaxed in parsing the credentials config file. It will happily read a file such as:

[client]
user=msandbox
password=msandbox
unknown=anything

[unfamiliar]
never_seen_before=anyvalue

... that has [client] variables unknown to ccql, and unknown sections such as [unfamiliar]. This allows ccql to read a common my.ini mysql configuration file and silently ignore MySQL variables that are unrelated to ccql

cc @datacharmer

datacharmer commented 8 years ago

Thanks Schlomi. This should solve my problem. I will test as soon as the new binaries are available