MySQL Connector/J 5.1 Developer Guide

5.3.1 Connection/Authentication