关于在redhat上使用tomcat连接mysql,出现密码过期问题
如下说明:
各们师兄:不知道为何,同一个javaee项目,
启动windows上tomcat,连接redhat上的mysql完全正常,启动不报任何错。
启动redhat上的tomcat,连接windows上的mysql也是正常启动。
启动windows上的tomcat连接windows上的mysql也是正常的。
唯独redhat上的tomcat连接redhat上的mysql就出现如下错误。
java.sql.SQLException: Your password has expired. To log in you must change it using a client that supports expired passwords.
以上同一份war包,同样的数据。