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

mysql数据库连接问题 #3

Open
freepander opened this issue Jul 20, 2014 · 1 comment
Open

mysql数据库连接问题 #3

freepander opened this issue Jul 20, 2014 · 1 comment

Comments

@freepander
Copy link

搭建在bae上,数据库使用 mysql。 BAE 不支持mysql的长连接,并且需要手动捕获异常。ghost 运行在上面经常抛异常,导致经常挂掉。请问 ghost 连接 mysql 的代码是哪部分。

@wangsai
Copy link

wangsai commented Jul 20, 2014

hello,前些天我也在整理BAE安装ghost+mysql的教程(http://www.ghostchina.com),在连接mysql时也是一直在报连接异常,经过多种方式调整,仍然还是报错。这个问题目前我也没有找到很好的解决办法!BAE官方教程中有一篇介绍安装Ghost + MySQL的文章,但是他们所用的Ghost版本已经很低了,并且他们所给出的定制mysql包也很陈旧了,用在新版本ghost中好像还是有问题。

建议更换云主机!

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