Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问web中的secret_key如何设置? #3

Closed
jwzxgy2007 opened this issue Dec 14, 2020 · 3 comments
Closed

请问web中的secret_key如何设置? #3

jwzxgy2007 opened this issue Dec 14, 2020 · 3 comments

Comments

@jwzxgy2007
Copy link

你好,我运行之后访问5000端口被deny,是我哪里设置的不对吗,secret_key应该如何设置?谢谢!

@jyolo
Copy link
Owner

jyolo commented Dec 14, 2020

端口在配置中可以自己修改,secret_key 是flask中的配置,一个密钥字符串 你随意设定一个就好

@jyolo jyolo closed this as completed Dec 14, 2020
@jwzxgy2007
Copy link
Author

好的多谢,这里可以了,还有一个问题,我跑起来后显示"Table 'logger.logger_watcher_2020_12_14' doesn't exist",mysql没有建立数据库是什么原因呢,mysql的用户密码以及logger数据库都建好了,也没有报链接失败的错误
谢谢!

@jyolo
Copy link
Owner

jyolo commented Dec 14, 2020

打开 log_debug = True 看看输出的 日志里面情况 。
log_debug = True 会在当前目录生成日志文件; 类似 : outpuer_config.ini.log 名称的日志文件
检查下mysql用户是否有写的权限,只有读的权限会导致无法自动创建表;
再检查下 outputer 里面的配置 确定下 queue_name 的设置 是否和 inputer 一致
如果还是不行,请吧 输出的日志文件 截个图看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants