Skip to content

Support TLS status on MySQL 8.4 - #181

Draft
Areson wants to merge 1 commit into
mainfrom
Areson/tls-channel-status
Draft

Support TLS status on MySQL 8.4#181
Areson wants to merge 1 commit into
mainfrom
Areson/tls-channel-status

Conversation

@Areson

@Areson Areson commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Why

MySQL 8.0.26 deprecated have_ssl, and MySQL 8.4 removed it, causing the tls collector to fail during plan preparation.

What

  • Read TLS enablement from performance_schema.tls_channel_status when available
  • Fall back to @@have_ssl for older or restricted servers and disabled Performance Schema
  • Add focused unit coverage and integration coverage for MySQL 8.0 and 8.4
  • Document the Performance Schema privilege requirement

Risk Assessment

Low to medium — the change is limited to the TLS collector and preserves the legacy query as a compatibility fallback.

References

Closes #133

Generated with Codex

Use tls_channel_status when available while retaining the legacy have_ssl fallback for older or restricted servers. Add focused and MySQL 8.0/8.4 coverage.

Co-authored-by: Codex <noreply@openai.com>
Ai-assisted: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update tls domain because have_ssl is deprecated as of MySQL 8.0.26

1 participant