title: Uploading large mysql database on AWS RDS using putty - 'MySQL server has gone away'
body: <p>Im using Amazon Web services and I've setup EC2 and RDS and installed apache, php, mysql, phpmyadmin.</p>
  
  <p>I can import small sql files (I also setup worpdress and imported a sql db for that -fine) but when I try to import a 200mg sql file using putty I get </p>
  
  <blockquote>
    <p>ERROR 2006 (HY000) at line 186: MySQL server has gone away'</p>
  </blockquote>
  
  <p>After doing some research it seemed increasing <strong>max_allowed_packet</strong>, <strong>wait_timeout</strong> and <strong>net_read_timeout</strong> in <strong>DB Parameter Groups</strong> would help but it didnt (I did reboot after making changes, I also set those to their maximum allowed values using RightScale dashboard). </p>
  
  <p>Is there anything else I should be aware of that might be causing this?</p>
  
  <p>I also tried bigdump.php with no luck.</p>
  
  <p>I presume loads of people upload large mysql databases using aws so this is kinda driving me crazy.</p>