我正在使用32位Windows,Visual Studio和MySQL。当我部署x86和x64的应用程序时,一切正常。
但似乎MySQL命令和连接不适用于64位系统。我是否必须对64位系统进行更改?
我的代码是这样的:
public class Testimony {
private String testimony;
private String name;
private int id;
public Testimony(String testimony,String name, int id){
this.testimony = testimony;
this.id = id;
this.name = name;
}
public String gettestimony() {
return testimony;
}
public String getname() {
return name;
}
public int getid() {
return id;
}
}