IabSDocker4天前发布关注私信 DM客户端连接数据库提示授权即将过期 查看当前license信息 看到当前license的序列号是通用临时序列号dm66n367,并且过期时间为2025年8月28 申请新的license 更换新的license 上传新license到DM安装目录bin中,并更改属主属组 root@ubuntu:/data/dm# ll total 190628 drwxr-xr-x 3 root root 4096 Aug 14 08:33 ./ drwxr-xr-x 3 root root 4096 Jun 27 08:31 ../ -rw------- 1 root root 5512 Aug 14 04:24 bash_history -rw-r--r-- 1 root root 195171039 Jun 27 08:43 cjwuyetest_backup.dmp drwxr-xr-x 4 ubuntu ubuntu 4096 Aug 14 03:26 data/ -rw-r--r-- 1 root root 648 Mar 18 01:31 dm.key -rw-r--r-- 1 root root 370 Jun 27 08:50 docker-compose.yml root@ubuntu:/data/dm# docker exec -it dm8-test bash -c "ps -axu | grep dms" dmdba 108 0.4 66.7 4464560 1017244 ? Sl 10:19 1:41 /opt/dmdbms/bin/dmserver /opt/dmdbms/data/DAMENG/dm.ini -noconsole root 24357 0.0 0.1 9692 2936 pts/0 Ss+ 16:42 0:00 bash -c ps -axu | grep dms root 24365 0.0 0.0 9020 700 pts/0 S+ 16:42 0:00 grep dms root@ubuntu:/data/dm# docker cp dm.key dm8-test:/opt/dmdbms/bin/ Successfully copied 2.56kB to dm8-test:/opt/dmdbms/bin/ root@ubuntu:/data/dm# docker exec -it dm8-test bash root@9236b14d426c:/# ll /opt/dmdbms/bin/dm.key -rw-r--r-- 1 root root 648 Mar 18 09:31 /opt/dmdbms/bin/dm.key root@9236b14d426c:/# chown dmdba:dinstall /opt/dmdbms/bin/dm.key root@9236b14d426c:/# ll /opt/dmdbms/bin/dm.key -rw-r--r-- 1 dmdba dinstall 648 Mar 18 09:31 /opt/dmdbms/bin/dm.key root@9236b14d426c:/# 使用sp_load_lic_info();重新加载新license信息,并重新查看授权信息 看到已成功更换 license © 版权声明文章版权归作者所有,未经允许请勿转载。THE ENDDM# 达梦数据库# DM8 喜欢就支持一下吧点赞12赞赏 分享QQ空间微博QQ好友海报分享复制链接收藏