ClickhouseBuilder
ClickhouseBuilder copied to clipboard
Move authentication url params to header
sometimes I have an error and log throw with authentication. I don't want the password to appear in the log file.
I see package https://github.com/smi2/phpClickHouse has AUTH_METHOD_HEADER Is this package has a function to support it?
[2021-06-10 08:58:13] production.ERROR: cURL error 7: Failed to connect to clickhouse-host: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://clickhouse-host?wait_end_of_query=1&database=database&user=user&password=password{"exception":"[object] (GuzzleHttp\\Exception\\ConnectException(code: 0): cURL error 7: Failed to connect to clickhouse-host: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://clickhouse-host?wait_end_of_query=1&database=database&user=user&password=password at /var/www/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210)