title: mysql restart does not work
body: <p>I have a problem with restarting mysql server. It used to restart when I run it with mysqld restart, but I don't know what happened now, it just won't restart giving me an error: you have an error in your sql syntax. I tried different restart methods:</p>
  
  <pre><code>mysql restart
  mysqld restart
  sudo restart mysql
  service mysqld restart
  /etc/init.d/mysql restart
  </code></pre>
  
  <p>and getting the same error. How do I restart it?</p>