1.error1042 cant get hostname for your address
在mysql的bin下运行netsh winsock reset后重启
2.error1045 access denied for user ’root‘@’loaclhost‘
mysql>update mysql.user set authentication_string=password('123qwe') where user='root' and Host ='localhost';
3.Warning about SSL connection when connecting to MySQL database
url应改为jjdbc:mysql://localhost:3306/exp?characterEncoding=utf8&useSSL=true