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

flask init失败的问题 #29

Open
leavesbnw opened this issue Apr 20, 2020 · 6 comments
Open

flask init失败的问题 #29

leavesbnw opened this issue Apr 20, 2020 · 6 comments

Comments

@leavesbnw
Copy link

第一次失败是因为mysql版本不同,后在另外一台机器上部署高版本的mysql并更改配置后,再次执行flask init,结果连接的IP不是最新的。这类缓存在哪里放着呢?

@yueyongyue
Copy link
Collaborator

缓存?

@leavesbnw
Copy link
Author

除了缓存我想不到还有别的因素导致mysql的host不变,因此有这么一说。如果你知道什么原因的话,还请直接答疑解惑。

@yueyongyue
Copy link
Collaborator

yueyongyue commented Apr 20, 2020

你说的host不变,怎么理解呢,麻烦多提供一下信息

@leavesbnw
Copy link
Author

image
配置文件中我写的地址是192.168.56.102。

@yueyongyue
Copy link
Collaborator

image
192.168.56.107这个地址可不是数据库地址,这是你作为client要连接数据库,client的地址

@leavesbnw
Copy link
Author

原来是这个样子,懂了,谢谢。

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