Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查看不了 #13

Open
Moon1i9ht opened this issue Dec 6, 2020 · 7 comments
Open

查看不了 #13

Moon1i9ht opened this issue Dec 6, 2020 · 7 comments

Comments

@Moon1i9ht
Copy link

不管是用户登录还是管理员登录,点击查看所有用户都没有反应。请问一下是怎么回事???

@switchsky
Copy link

数据库有连接成功吗,建表语句写了吗

@Moon1i9ht
Copy link
Author

Moon1i9ht commented Dec 15, 2020 via email

@switchsky
Copy link

查看不了可能是得在网页上运行才能查看,我一开始用Myeclipse运行的 也是查看不了

然后用MySQL8的话整个导入的包都得改
import java.sql.Connection;

以及连接的语句得改成这样就行了

String dbURL = "jdbc:mysql://localhost:3306/studentinfomanagement?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF8";

Class.forName("com.mysql.cj.jdbc.Driver");
因为8的版本和之前有很大不同

@Moon1i9ht
Copy link
Author

Moon1i9ht commented Dec 15, 2020 via email

@Moon1i9ht
Copy link
Author

Moon1i9ht commented Dec 15, 2020 via email

@Chexian1
Copy link

Chexian1 commented Jun 7, 2021

我也是这样,点击查看所有用户不显示数据,想问下楼主和层主问题出在哪里,怎么解决的?可以留个联系方式咨询下么,谢谢。

@dafhf
Copy link

dafhf commented Jun 8, 2022

我也是这个问题,想问下是如何解决的呢?乱码已经解决了,但是点击查看学生信息这些没有东西输出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants