-1

ビューを保存した後、Drupal 7のすべてのページでこのエラーが発生しました。調査の結果、Mysqlの「最大許容パケット数」の設定が低すぎることに問題があると思います...現在68MB。250MBに設定するように依頼しました。しかし、問題のさらなる診断は歓迎されます。

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT format, type, language FROM {date_format_locale}; Array ( ) in system_date_format_locale() (line 3650 of /home/mysite/public_html/beta1/modules/system/system.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 1 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:132:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT format, type, language FROM {date_format_locale}; Array ( ) ";s:9:"%function";s:27:"system_date_format_locale()";s:5:"%file";s:61:"/home/mysite/public_html/beta1/modules/system/system.module";s:5:"%line";i:3650;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://beta1.mysite.co.uk/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 83.244.234.228 [:db_insert_placeholder_9] => 1352306457 ) in dblog_watchdog() (line 157 of /home/mysite/public_html/beta1/modules/dblog/dblog.module).

Uncaught exception thrown in session handler.

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in _drupal_session_write() (line 206 of /home/mysite/public_html/beta1/includes/session.inc).

ありがとう

リー

4

1 に答える 1

0

この問題を修正するために、PlatinumServerManagement.com の担当者は、mysql 構成ファイルの待機タイムアウト値を増やしました。

リー

于 2012-11-09T09:55:52.820 に答える