Why why mySQL's root user's password can be successfully connected, and it is wrong after setting password.

xiaoxiao2021-03-06  15

Why is the password of MySQL root users to be empty, after setting the password, is wrong? The error message is as follows: java.sql.sqlexception: Communication Failure During handshake. Is the a Server Running on localhost: 3306? At Org.gjt.mm.mysql.mysqlio.init (mysqlio.java: 327) at Org.gjt.mm .mysql.connection.connectioninit (connection.java: 261) at Org.gjt.mm.mysql.jdbc2.connection.connectioninit (connection.java: 89) at Org.gjt.mm.mysql.driver.connect (driver.java : 167) At java.sql.driverManager.getConnection (drivermanager.java: 523)

转载请注明原文地址:https://www.9cbs.com/read-48654.html

New Post(0)