conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/student","root","root
为什么想上边那样写会报错错误Typemismatch:cannotconvertfromjava.sql.Connectiontocom.mysql.jdbc.Conne...
为什么想上边那样写会报错
错误Type mismatch: cannot convert from java.sql.Connection to com.mysql.jdbc.Connection 展开
错误Type mismatch: cannot convert from java.sql.Connection to com.mysql.jdbc.Connection 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询