2011年4月14日 星期四

java讀取Access出現亂碼的設定

今天也是試了好久
終於找到前人的經驗

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Properties prop = new Properties();
prop.put("charSet", "Big5");
prop.put("user", "");
prop.put("password", "");
String url = "jdbc:odbc:DRIVER=Microsoft Access Driver (*.mdb);DBQ=xxx.mdb";
Connection con = DriverManager.getConnection(url ,prop);
Statement stat = con.createStatement();

2011年4月7日 星期四

關於MySQL

最近開始學習MySQL
下面這個網站介紹的安裝與使用還不錯
可以參考看看
http://www.cqinc.com.tw/coopermaa/linux/1999122101.htm

再加幾個
MySQL 5.1參考手冊
http://twpug.net/docs/mysql-5.1/

MySQL中文參考手冊
http://twpug.net/docs/mysql323/manual_toc.html

MySQL 指令、語法及管理
http://itgroup.blueshop.com.tw/towns/hc?n=convew&i=153