Class.forName("org.gjt.mm.mysql.Driver").newInstance();
String url ="jdbc:mysql://localhost/softforum?user=soft&password=soft1234&useUnicode=true&characterEncoding=8859_1"

解决方案 »

  1.   

    Connection conn= DriverManager.getConnection(url);
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
      

  2.   

    driver:
    http://mmmysql.sourceforge.net/
      

  3.   

    to sgr_kk(丝瓜) :謝謝你的回復﹐但是我不明白你的代碼﹐我需要連接access資料庫的方法﹐不通過配置ODBC﹐可以解釋一下嗎﹖to saucer(思归) :謝謝﹐我上不了那個網站﹐能不能給我發一份﹖[email protected]
      

  4.   

    据我所知,现在还没有access的JDBC驱动(截止置8月),现在有没有我就不知道了:)
      

  5.   

    谢谢!那么没有mysql的驱动程序呢?麻烦给我传一份,谢谢了!