|
本帖最后由 gu0ke 于 2026-1-28 08:28 编辑 按照用户手册中的步骤,下载了支持国密的版本(在4. 支持国密特性二进制包下方下载),能正常启动。 安装tongsuo openssl ciphers -v | grep -i sm4 TLS_SM4_GCM_SM3 TLSv1.3 Kx=any Au=any Enc=SM4-GCM(128) Mac=AEAD TLS_SM4_CCM_SM3 TLSv1.3 Kx=any Au=any Enc=SM4-CCM(128) Mac=AEAD 但在my.cnf中添加了 [mysqld]#enable openssl & SMrequire_secure_transport = ONtls_ciphersuites = "TLS_SM4_GCM_SM3:TLS_SM4_CCM_SM3"tls_version = 'TLSv1.3' 之后,报错 2026-01-21T09:57:37.285513+08:00 0 [Note] [MY-013930] [Server] systemd notify: STATUS=Server startup in progress 2026-01-21T09:57:37.286751+08:00 0 [System] [MY-015015] [Server] MySQL Server - start. 2026-01-21T09:57:37.713527+08:00 0 [ERROR] [MY-015104] [Server] Value for option 'tls_ciphersuites' contains cipher 'TLS_SM4_GCM_SM3' that is blocked. Please refer to the documentation for allowed ciphers. 2026-01-21T09:57:37.713554+08:00 0 [ERROR] [MY-015104] [Server] Value for option 'tls_ciphersuites' contains cipher 'TLS_SM4_CCM_SM3' that is blocked. Please refer to the documentation for allowed ciphers. 2026-01-21T09:57:37.713804+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2026-01-21T09:57:37.713916+08:00 0 [Note] [MY-010120] [Server] Binlog end 2026-01-21T09:57:37.714106+08:00 0 [Note] [MY-015021] [Server] MySQL Server: Components Shutdown - start. 2026-01-21T09:57:37.714118+08:00 0 [Note] [MY-013930] [Server] systemd notify: Shutdown of components in progress 2026-01-21T09:57:37.714411+08:00 0 [Note] [MY-015022] [Server] MySQL Server: Components Shutdown - end (with return value = 0). 2026-01-21T09:57:37.714426+08:00 0 [Note] [MY-013930] [Server] systemd notify: Shutdown of components successful 2026-01-21T09:57:37.714582+08:00 0 [Note] [MY-013930] [Server] systemd notify: STATUS=Server shutdown complete (with return value = 1) 2026-01-21T09:57:37.714634+08:00 0 [System] [MY-010910] [Server] /usr/local/GreatSQL-8.4.4-4-Linux-glibc2.28-x86_64/bin/mysqld: Shutdown complete (mysqld 8.4.4-4) GreatSQL, Release 4, Revision d73de75905d-gmssl. 2026-01-21T09:57:37.714643+08:00 0 [System] [MY-015016] [Server] MySQL Server - end. 请问,支持国密版本的是必须要自行编译么? |
|
yejr
2026-1-21 10:43:20
| ||
|
gu0ke
2026-1-21 12:07:51
| ||
|
yejr
2026-1-21 23:09:12
| ||
|
gu0ke
2026-1-22 10:09:51
| ||
|
yejr
2026-1-23 15:32:40
| ||
|
yejr
2026-1-27 17:04:33
| ||
合作电话:010-64087828
社区邮箱:greatsql@greatdb.com


