title: How to increase the Mysql Connection limit in etc/my.cnf
body: <p>I want to increase the max connection limit in mysql.</p>
  
  <p>My current file <strong>/etc/my.cnf</strong> looks like this</p>
  
  <pre><code>[mysqld]
  innodb_file_per_table=1
  </code></pre>
  
  <p>When I try to increase the connection limit by adding this variable then I cannot restart mysql service.</p>
  
  <pre><code>[mysqld]
  innodb_file_per_table=1
  set-variable=max_connections=10000
  </code></pre>