title: Enable the MySQL Binary log
body: <p>How do I enable the Binary log in mySQL. I have tried:</p>
  
  <p>1) Entering this SQL code on phpmyadmin</p>
  
  <pre><code>SET GLOBAL log_bin ='ON'
  </code></pre>
  
  <p>This gave me an error message that bin_log is a read-only file;</p>
  
  <p>2) Inserting this into my.ini file below [mysqld]</p>
  
  <pre><code>--log-bin= C:\mySqlbinlog
  </code></pre>
  
  <p>This displays that I cannot access the database when I try to get to the webpage.</p>
  
  <p>Any idea how I can enable the Binary Log through phpmyadmin or in the my.ini file? Any help appreciated.</p>