<分区>
所以我只有这两行...
Class.forName("com.mysql.jdbc.Driver");
Connection connectionToSql = DriverManager.getConnection("jdbc:mysql://:localhost:3306/questions", "root", "root");
我得到异常说:
Cannot load connection class because of underlying exception: 'java.lang.NumberFormatException: For input string: "localhost:3306"'.
我该怎么办?