mysql的问题解决了,但在程序连接上又出问题了,总是报错:[Servlet 错误]-[Communication failure during handshake. Is there a server running on localhost:3306?]:java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306? 难道是3306端口没打开??用netstat -an检查,没问题,是打开了的。看服务,mysql也启动了。