title: "Lost connection to MySQL server" when trying to connect to remote MySQL server
body: <p>I am using Zend Framework to develop my application and I try to connect to a remote MySQL database in my LAN.</p>
  
  <p>The database connection settings in Zend is as follows:
  <PRE>
  [GENERAL]
  db.adapter     = PDO_MYSQL
  db.params.host = 192.168.1.2
  db.params.port = 3306</p>
  
  <p>[LIVE:GENERAL]
  db.params.username = root
  db.params.password = <strong><em>*</em>*</strong>
  db.params.dbname   = djudd</p>
  
  <p>[DEVELOPMENT:GENERAL]
  db.params.username = root
  db.params.password = <strong><em>*</em>*</strong>
  db.params.dbname   = stellarengine</pre></p>
  
  <p>I got the following error:</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p><code>Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111' in /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO-&gt;__construct('mysql:host=192....', 'root', 'password', Array) #1 /usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract-&gt;_connect() #2 /usr/share/php/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Mysql-&gt;_connect() #3 /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract-&gt;query('DESCRIBE</code>bny_c...', Array) #4 /usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(156): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE <code>bny_c...') #5 /usr/share/php/Zend/Db/Table/Abstract.php(823): Zend_Db_Adapter_Pdo_Mysql-&gt;describeTable('bny_core_module...', NULL) #6 /usr/share/php/Zend/Db/Table/Abstract.php(866): Zend_Db_Table_Abstract-&gt;_setupMetadata() #7 /usr/share/php/Zend/Db/Table/Abstract. in /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php on line 144</code> </p>
      </blockquote>
    </blockquote>
  </blockquote>
  
  <p>Please help me to resolve this problem.</p>