云舒 博客搬家到godaddy之后,某几个维护脚本经常出现“MySQL server has gone away”错误。搜索了一下,连接数据库之后加入一条set session wait_timeout=600解决问题。
此记。
bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn