Skip to content

Instantly share code, notes, and snippets.

@sombraguerrero
Last active February 27, 2026 00:50
Show Gist options
  • Select an option

  • Save sombraguerrero/7108f5c793347ce7b7c9dba6707a5dd0 to your computer and use it in GitHub Desktop.

Select an option

Save sombraguerrero/7108f5c793347ce7b7c9dba6707a5dd0 to your computer and use it in GitHub Desktop.
MySql/MariaDB Environment Query
SELECT CONCAT(@@version_comment, ' ', @@VERSION) AS serverVersion,
COALESCE(
(SELECT GLOBAL_VALUE
FROM information_schema.SYSTEM_VARIABLES
WHERE VARIABLE_NAME = 'block_encryption_mode'), 'N/A') AS algo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment