-
问题似乎是waline没有识别到安装的mysql?配置好mysql,把waline部署到https://comment.shafish.cn/ ,访问的时候提示Not initialized。 mysql相关环境变量配置[root@VM-20-4-centos ~]# cat /etc/profile.d/waline.sh 运行结果
{
"errno": 500,
"errmsg": "Not initialized"
}
|
Beta Was this translation helpful? Give feedback.
Answered by
lizheming
Dec 13, 2021
Replies: 1 comment
-
Waline 是直接使用的环境变量 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Waline 是直接使用的环境变量
process.env
,具体的代码见 https://github.com/walinejs/waline/blob/main/packages/server/src/config/config.js。目前看应该是环境变量没传到 Node 层,你可以再调试一下看看。