[SOLVED][Drupal Pathauto] PDOException: SQLSTATE[HY000]: when clicking on Drupal Pathauto Patterns tab

March 04, 2013 - 14:43

A number of Drupal users were encountering a "PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT * FROM {menu_links}... " error message when clicking on the Drupal Pathauto Patterns tab of their Drupal installation. If you are encountering the same situation in your Drupal site then read on to find out the solution.

Here is the solution suggested by a Drupal user

  • Firstly locate your mysql.ini file in your server
  • Set max_allowed_packet=100M
  • Next restart the mysql daemon

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.

Get Drupal updates straight to your inbox

To prevent automated spam submissions leave this field empty.

Post your comments / questions