Changes between Version 4 and Version 5 of NCHCCloudCourse100928_MYSQL


Ignore:
Timestamp:
Apr 25, 2011, 1:57:30 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NCHCCloudCourse100928_MYSQL

    v4 v5  
    1111= 說明 =
    1212
    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{{{
     17DROP TABLE IF EXISTS `school`.`teacher`;
     18CREATE 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}}}
    1425
    1526 * MySQL 內,先建立一個school 的資料庫,內含 teacher 的table ,並新增一些資料,如下: