ps.setString(1, pwd);
ps.setString(2, nickname);
pwd 是英文,nickname是中文,每次查找的时候都提示You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' nickname = '???????‘?'' at line 1
这个问题,向数据库插入的时候就没有问题,不是为什么查找就不行,知道的大神帮下忙啊!