linux.centos 7 部署运行报错 返回

C#论坛 老数据
6 2133

问题:在windows 正常 ,部署docker 到linux 报错

.net core 版本:2.2

数据库:oracle

错误日志:

English Message : Connection open error . ORA-00604: error occurred at recursive SQL level 1\nORA-01882: timezone region not found\nChinese Message :  连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:ORA-00604: error occurred at recursive SQL level 1\nORA-01882: timezone region not found

热忱回答6

  • https://blog.csdn.net/qq_40910788/article/details/90605581

    0 回复
  • 在windows访问没报错

    0 回复
  • 可能重点是ORA-01882 timezone region not found

    0 回复
  • @fate stay night在windows访问没报错,可能重点是ORA-01882 timezone region not found

    0 回复
  • 已经解决了 ,执行如下:

    ln -sf /usr/share/zoneinfo/Asia/Shanghai    /etc/localtime

    0 回复
  • @fate stay night

    已经解决了 ,执行如下:

    ln -sf /usr/share/zoneinfo/Asia/Shanghai    /etc/localtime


    0 回复