Skip to content

Support C# client for mysql protocol - #84397

Merged
scanhex12 merged 12 commits into
ClickHouse:masterfrom
scanhex12:mysql_dotnet
Aug 6, 2025
Merged

scanhex12 merged 12 commits into
ClickHouse:masterfrom
scanhex12:mysql_dotnet

Conversation

@scanhex12

@scanhex12 scanhex12 commented Jul 24, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • New Feature

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Support C# client for mysql protocol. This closes #83992

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh

clickhouse-gh Bot commented Jul 24, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [43141b7]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel) failure
02443_detach_attach_partition FAIL
Stateless tests (amd_msan, parallel, 2/2) failure
02483_elapsed_time FAIL
03532_key_condition_continuous_range FAIL
02156_async_insert_query_log FAIL
03164_selects_with_pk_usage_profile_event FAIL
01661_referer FAIL
01158_zookeeper_log_long FAIL
02703_max_local_write_bandwidth FAIL
01070_exception_code_in_query_log_table FAIL
03310_create_database_with_settings FAIL
Stateless tests (amd_ubsan, parallel) failure
02346_text_index_queries FAIL
00159_parallel_formatting_tsv_and_friends FAIL
02174_cte_scalar_cache_mv FAIL
01814_distributed_push_down_limit FAIL
02907_preferred_optimize_projection_name FAIL
00159_parallel_formatting_json_and_friends_2 FAIL
02177_issue_31009 FAIL
02455_one_row_from_csv_memory_usage FAIL
00159_parallel_formatting_json_and_friends_1 FAIL
00159_parallel_formatting_csv_and_friends FAIL
Stateless tests (arm_binary, parallel) failure
01825_new_type_json_ghdata_insert_select FAIL
Integration tests (aarch64, distributed plan, 4/4) failure
test_mysql_protocol/test.py::test_mysql_dotnet_client FAIL
Finish Workflow failure
python3 ./ci/jobs/scripts/workflow_hooks/feature_docs.py failure

@clickhouse-gh clickhouse-gh Bot added the pr-feature Pull request with new product feature label Jul 24, 2025
Comment thread src/Server/MySQLHandler.cpp Resolved
@alexey-milovidov alexey-milovidov self-assigned this Jul 30, 2025
Comment thread src/Server/MySQLHandler.cpp Resolved
Comment thread src/Server/MySQLHandler.cpp Resolved
Comment thread src/Server/MySQLHandler.cpp Resolved
Comment thread src/Server/MySQLHandler.cpp Resolved
@scanhex12
scanhex12 enabled auto-merge August 6, 2025 14:19
@scanhex12
scanhex12 added this pull request to the merge queue Aug 6, 2025
Merged via the queue into ClickHouse:master with commit 39777d6 Aug 6, 2025
@scanhex12
scanhex12 deleted the mysql_dotnet branch August 6, 2025 19:09
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 6, 2025
@@ -0,0 +1,5 @@
services:
dotnet:
image: clickhouse/mysql_dotnet_client:${mysql:-latest}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @scanhex12 ,

it seems that this line causing problem after merging your PR: #80785

instead of mysql one should use this env variable: DOCKER_MYSQL_DOTNET_CLIENT_TAG

alexey-milovidov added a commit that referenced this pull request May 29, 2026
The `docker_compose_mysql_dotnet_client.yml` referenced `${mysql:-latest}`,
a variable that CI never sets, so the image tag always fell back to `latest`.
CI resolves the tag into `DOCKER_MYSQL_DOTNET_CLIENT_TAG` (see `IMAGES_ENV` in
`ci/jobs/scripts/integration_tests_configs.py`), so the compose file must
reference that variable.

This is the root cause of the CI breakage that led to the original revert in
#105615 ("The CI is on fire. 30+ PRs affected").

As pointed out in #84397 (comment)

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature Pull request with new product feature pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MySQL compatibility: support SHOW COLLATION

4 participants