mysql_connect: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)
select_db: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)

Rules for PMD

Eclipse Usage: JAR-File goes into the eclipse/plugins-directory, the Ruleset-XML-File is to be imported from Preferences→PMD→RulesConfiguration→Import Rule Set.

IncrDecrInExpr
Finds in Postfix/Prefix increment/decrement operators in conditional expressions (if/switch) such as
if(i++ < 0) ...
JAR-FileRuleset-XML-File
IdenticalNameExceptCase
Finds names that only differ by case:
public int lookahead() {}
public int lookAhead() {}
JAR-FileRuleset-XML-File