tongyi007 发表于 2016-10-24 10:14:37

Java project,every parameters is correct,but it can't connect the MySql database

java project , it work first, but it doesn't work suddenly.find code under:

  connection = (Connection) DriverManager.getConnection(url, username, password);
the connection is null.

last find reason:
      I stop my Local Area Connection.set is run ... the problem is solved.
页: [1]
查看完整版本: Java project,every parameters is correct,but it can't connect the MySql database