Mysql module

I turned on the viewer and get it when I go to structure> views in drupal 7

Additional thrown exception when handling exceptions. Original

PDOException: SQLSTATE [HY000]: General error: 2006 MySQL server left: DELETE FROM {cache_form} WHERE (cid =: db_condition_placeholder_0); Array ([: db_condition_placeholder_0] => form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o) in cache_clear_all () (line 170 / home / tennis / public_html / includes / cache.inc). Additional

PDOException: SQLSTATE [HY000]: General error: 2006 MySQL server left: INSERT INTO {watchdog} (UID, message type, variables, severity, links, location, referrer, 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% function (line% line% of file%) [: db_insert_placeholder_3] =>: 6: {s: 5: "type%"; s: 12: "PDOException"; s: 8: "! Message"; s: 240: "SQLSTATE [HY000]: general error: MySQL 2006 server left: REMOVE FROM {cache_form} WHERE (cid =: db_condition_placeholder_0); Array ([: db_condition_placeholder_0] = & form_form-MKcd7j8VJkLHaG7-JGW-vREo_XeUngdnLcqlKOn-02o) "; s: 9:"% function "; s: 17:" cache_clear_all: "()) ; s: 43: "/ home / tennis / public _html / includes / cache.inc" s: 5: "% line" I: 170; s: 14: "severity_level"; me: 3;} [: db_insert_placeholder_4] => 3 [: db_insert_placeholder_5] = & triazolo [: db_insert_placeholder_6] => http://192.168.1.66/~tennis/admin/structure/views [: db_insert_placeholder_7] => http://192.168.1.66/~tennis/user / 1 [: db_insert_plac eholder_8] = & gt, 192,168. 1.172 [: db_insert_placeholder_9] => 1309366098) in dblog_watchdog () (line 155 from / home / tennis / public _html / modules / dblog / dblog.module).

what maybe my problem?

+4
source share
1 answer

Here is some information about this error: http://dev.mysql.com/doc/refman/5.1/en/gone-away.html and a similar problem on Drupal.org: http://drupal.org/node/984112

Another useful post about this error: http://madhavvyas.blogspot.com/

It seems that the problem is max_allowed_packet in the configuration for MySQL.

From the Drupal problem, another user provides some steps that may help you (this user uses XAMPP, but the steps are similar):

How to solve this problem

  • Go to xampp \ mysql \ bin
  • Open my.ini
  • Change "max_allowed_packet" from "1 m" to "16 m" (or more)
  • Save my.ini Now restart MySql through the XAMPP control panel.
+6
source

All Articles