title: Changing innodb_log_file_size in Ubuntu 14.04 LTS
body: <p>I am a starter in Linux and am hence new to all this. Please take my noob mistakes kindly if there are any.
  So I am installing OTRS in Linux for which I have to change the innodb_log_file_size to 512M</p>
  
  <p>So I did the following but have been unsuccessful to change the log_file_size.</p>
  
  <ul>
  <li>Set GLOBAL innodb_fast_shutdown to 1</li>
  <li>Ensured that shutdown was completed using log file (It did indeed, saw a line which said Shutdown complete)</li>
  <li>Moved the following files to home</li>
  </ul>
  
  <blockquote>
    <p>logfile0 &amp; logfile1 from cd /var/lib/mysql</p>
  </blockquote>
  
  <ul>
  <li>Nano edited the my.cnf in `</li>
  </ul>
  
  <blockquote>
    <p>/etc/mysql/my.cnf</p>
  </blockquote>
  
  <p>I added the following line under </p>
  
  <pre><code> [mysqldump] 
   inno_db_log_file_size = 512M
  </code></pre>
  
  <p>Saved and closed the .cnf file and restarted mysql server using</p>
  
  <blockquote>
    <p>/etc/init.d/mysql start</p>
  </blockquote>
  
  <p>I then checked the error log file and found that the logfile0 &amp; logfile1 got recreated but got recreated with 5MB size again</p>
  
  <p>Can someone tell me what I am doing wrong. I am guessing that I am not adding the <code>inno_db_log_file_size = 512M</code> in the right place.</p>
  
  <p><strong>P.S:</strong> There was no inno_db_log_file_size line before I added it.</p>
  
  <p>Thanks in advance.</p>
  
  <p>`</p>