Original
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT name, machine_name, vid FROM {taxonomy_vocabulary}; Array ( ) in taxonomy_vocabulary_get_names() (line 792 of C:\xampp\xampp\htdocs\drupal\modules\taxonomy\taxonomy.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:134:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT name, machine_name, vid FROM {taxonomy_vocabulary}; Array ( ) ";s:9:"%function";s:31:"taxonomy_vocabulary_get_names()";s:5:"%file";s:61:"C:\xampp\xampp\htdocs\drupal\modules\taxonomy\taxonomy.module";s:5:"%line";i:792;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://localhost/drupal/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => ::1 [:db_insert_placeholder_9] => 1299395791 ) in dblog_watchdog() (line 155 of C:\xampp\xampp\htdocs\drupal\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 204 of C:\xampp\xampp\htdocs\drupal\includes\session.inc).
Comments
Comment #1
vera.ventures commentedam a newbie, dont know how to uninstall this module for me to get onto the Drupal Login / Landing Page. Can you please help me.
Rehman
Comment #2
berdirThis is not the right place to report bugs. Moving...
Comment #3
EvanDonovan commentedA "MySQL server has gone away" error usually means that you've lost connection to MySQL. It is most likely not a problem with Drupal itself, which is why I have lowered the priority.
For us to help you debug this issue, you will have to provide more details on your operating system, PHP, MySQL, and Web server configuration. You should also check to see if this error always occurs, or if it is only sporadic. Also, is this install of Drupal on a local machine, or on a remote Web server?
Also, you should not assign issues to yourself, unless you will be the person responsible for resolving them.
Comment #4
EvanDonovan commentedOh, I just saw in the error message that this you are using Windows with XAMPP. I would imagine this is probably an issue with XAMPP, then. The standard XAMPP MySQL resource limits are too low; you should try raising them in my.cnf.
Comment #5
EvanDonovan commentedRetagging accordingly.
Comment #6
joris.verschueren commentedThis seems to be a problem with Xampp settings, see e.g. here: http://minorpoint.blogspot.com/2007/09/mysql-server-has-gone-away.html .
it should come down to your database exceeding the allowed size.
edit: I forgot to mention, the proposed solution (editing the my.cnf file) worked for me.
Comment #7
xjmThis was a local environment issue, not a Drupal issue.