Aug 31, 2017

class `com.mysql.jdbc.Driver' is deprecated

 The new driver class is `com.mysql.cj.jdbc.Driver'.

Instead of:
Class dbDriver = Class.forName("com.mysql.jdbc.Driver");

Use:
Class dbDriver = Class.forName("com.mysql.cj.jdbc.Driver");