title: Can I log Mysql database login attempts?
body: <p>on a Linux Ubuntu server, under </p>
  
  <pre><code>/var/log
  and 
  /var/log/mysql
  </code></pre>
  
  <p>I can find Mysql log files, but all of them are empty despite I have used the database. I have phpMyAdmin installed as well. Is it possible to see when and which ip address has tried to login to the database? </p>