Changes between Version 4 and Version 5 of NCHCCloudCourse100928_MYSQL
- Timestamp:
- Apr 25, 2011, 1:57:30 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100928_MYSQL
v4 v5 11 11 = 說明 = 12 12 13 * 需先安裝 hadoop 0.20 , apache2 , MySQL 5 server & client 13 * 需先安裝 hadoop 0.20 , apache2 , MySQL 5 server & client , phpmyadmin 14 * 需將 [http://dev.mysql.com/downloads/connector/j/ mysql-connector-java-*.jar] 放到 lib 目錄下 15 16 {{{ 17 DROP TABLE IF EXISTS `school`.`teacher`; 18 CREATE TABLE `school`.`teacher` ( 19 `id` int(11) default NULL, 20 `name` char(20) default NULL, 21 `age` int(11) default NULL, 22 `departmentID` int(11) default NULL 23 ) ENGINE=InnoDB DEFAULT CHARSET=latin1; 24 }}} 14 25 15 26 * MySQL 內,先建立一個school 的資料庫,內含 teacher 的table ,並新增一些資料,如下: