title: Lost connection to MySQL server at 'reading initial communication packet', system error: 113
body: <p>I have two Debian boxes:</p>
  
  <ol>
  <li>used apt-get to install mysql-server mysql-client phpmyadmin</li>
  <li>used apt-get to install apache2 apache2-mod-php5</li>
  </ol>
  
  <p>I'm trying to connect to the MySQL server using the Apache box but I get this error from PHP:</p>
  
  <blockquote>
    <p>Lost connection to MySQL server at 'reading initial communication packet', system error: 113</p>
  </blockquote>
  
  <p>I can connect up to MySQL fine using a Windows-based client on the same network. This makes me wonder about how the Apache2/PHP is setup. </p>
  
  <p>Additional reading about error 113 makes me wonder about hostnames and such. my.cnf on MySQL box is set to bind-address = 192.168.1.202, and PHP is trying to connect to 192.168.1.202.</p>
  
  <p>Any and all help greatly appreciated! I'm not an evil genius by a long shot and this is my first time trying to use solely aptitude to set this up. I bet it's something silly I forgot.</p>