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

The problem After downloading a Drupal project I am working on, and importing its database I got this kind of message related with a PDO Exception: Additional uncaught exception thrown while handling exception. PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid…

Some useful Git commands

Hi friends, Today I would like to share you a list of Git commands that I consider really useful when we work with this great version control  system. Enjoy it! Configuring your Git // Disable autocrlf to avoid warnings in command line git config –global core.autocrlf false // Set username and email (global) git config…