步一:1)将 tarena_JSTL_ex/webRoot/sql 文件夹中 goods.sql 放入 mysql 目录下的 bin 文件
中,选择“开始”/“所有程序”/“MySQL”/“MySQL Command Line Client”命令,
(2)将打开 MySQL 数据库的 Command Line Client 窗口,在该窗口中,输入密码并按下
〈Enter〉键时,进入数据库在命令行输入 source goods.sql。
步二:把 tarena_JSTL_exe 文件夹导入到 myeclipse;
步 三 : 修 改 src 下 的 connDB.properties 中 的
jdbc:mysql://127.0.0.1:3306/db_database07?user=root&password=959595&useUnicode=true
的密码,改为你所使用 Mysql 的密码;
步四:在 IE 浏览器输入 http://localhost:8080/tarena_JSTL_exe/index.jsp;
评论0