Rat's

使用Nginx反向代理,自建CDN加速节点
说明:博客刚刚搬到了美西,感觉速度不如香港,于是准备拿香港的服务器自建CDN加速了,对于自建CND,之前讲过Fik...
扫描右侧二维码阅读全文
04
2018/04

使用Nginx反向代理,自建CDN加速节点

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Typecho_Db_Query_Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /www/wwwroot/www.moerats.com/var/Typecho/Db/Adapter/Pdo.php:105 Stack trace: #0 /www/wwwroot/www.moerats.com/var/Typecho/Db.php(353): Typecho_Db_Adapter_Pdo->query('SELECT typecho_...', Object(PDO), 1, 'SELECT') #1 /www/wwwroot/www.moerats.com/var/Typecho/Db.php(384): Typecho_Db->query(Object(Typecho_Db_Query), 1) #2 /www/wwwroot/www.moerats.com/var/Widget/Contents/Attachment/Related.php(55): Typecho_Db->fetchAll(Object(Typecho_Db_Query), Array) #3 /www/wwwroot/www.moerats.com/var/Typecho/Widget.php(221): Widget_Contents_Attachment_Related->execute() #4 /www/wwwroot/www.moerats.com/var/Widget/Archive.php(1528): Typecho_Widget::widget('575-5f000f196a9...', Array) #5 /www/wwwroot/www.moerats.com/usr/themes/handsome/libs/Content.php(646): Widget_Archive->attachments(1) #6 /www/wwwroot/www.moerats.com/usr/themes/handsome/libs/Content.php(733): Content::returnHeaderImgSrc(Object(Widget_Archive), 'post', 0) #7 /www/wwwroot/www.moerats.com/usr/themes/handsome/post.php(55): Content::exportHeaderImg(Object(Widget_Archive)) #8 /www/wwwroot/www.moerats.com/var/Widget/Archive.php(2022): require_once('/www/wwwroot/ww...') #9 /www/wwwroot/www.moerats.com/var/Typecho/Router.php(138): Widget_Archive->render() #10 /www/wwwroot/www.moerats.com/index.php(23): Typecho_Router::dispatch() #11 {main}