How to find MySQL version
Below commands can be used to find MySQL / MariaDB version:
mysql configurationintermediate
by MYSQL
12 views
Below commands can be used to find MySQL / MariaDB version:
123456789101112131415161718192021222324252627282930
MariaDB [(none)]>
select version();
+-----------------+
| version() |
+-----------------+
| 10.4.18-MariaDB |
+-----------------+
1 row in set (0.000 sec)
$
mysql --version
mysql Ver 15.1 Distrib 10.4.18-MariaDB, for Win64 (AMD64), source revision 53123dfa3e365138591fd2f160c6057aca00a3e6
mysql>
SHOW VARIABLES LIKE "%version%";
+--------------------------+-------------------------------+
| Variable_name | Value |
+--------------------------+-------------------------------+
| admin_tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| immediate_server_version | 999999 |
| innodb_version | 8.0.25 |
| original_server_version | 999999 |
| protocol_version | 10 |
| slave_type_conversions | |
| tls_version | TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 |
| version | 8.0.25 |
| version_comment | MySQL Community Server - GPL |
| version_compile_machine | x86_64 |
| version_compile_os | macos11 |
| version_compile_zlib | 1.2.11 |
+--------------------------+-------------------------------+
12 rows in set (0.04 sec)Please to add comments
No comments yet. Be the first to comment!