code-push-server icon indicating copy to clipboard operation
code-push-server copied to clipboard

code-push-server-db 命令出错

Open lin493369 opened this issue 9 years ago • 2 comments

@lisong 帮忙看一下创建服务器时候出的这个错误 image

lin493369 avatar Dec 28 '16 09:12 lin493369

你mysql有密码,在 --dbpassword 加上你的密码即可。但是后面启动web服务时候还会有类似问题,我也不知道code-push-server 这步如何能带密码参数运行,后来没办法我是直接改config/config.js里db配置 password: process.env.RDS_PASSWORD || “YourPassword”,有更好的解决方法请告知,谢谢了。

ccgitgit avatar Feb 06 '17 14:02 ccgitgit

线上使用pm2管理应用,参考pm2 指定自己的config配置,参考config

lisong avatar Feb 06 '17 15:02 lisong