为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:
【操作系统】:windows 11
【CPU】:
【问题描述】*:我本地python脚本可以连接达梦数据库,将该python(Flask框架)项目部署到docker容器中后,就无法连接了(docker容器使用的是host模式,操作系统为Windows11),客户端发送请求到容器中的python脚本,python脚本连接数据库出现如下错误:<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>。
如果在docker容器里运行python脚本连接数据库会直接出现如下报错:dmPython.DatabaseError: [CODE:-70089]Encryption module failed to load
检查下path环境变量是否包含dmdbms/bin