title: How to fix java.sql.SQLException: Server is running in --secure-auth mode, but 'user'@'host' has a password in the old format; (...)?
body: <p>After upgrading MySQL 5.1 to 5.6, trying to start JBoss failed with this exception:</p>
  
  <pre><code>java.sql.SQLException: 
    Server is running in --secure-auth mode, but 'user'@'localhost' 
    has a password in the old format;  please change the password to the new format
  </code></pre>
  
  <p>How to fix this issue?</p>