下载安装tomcat & mysql
下载地址: http://jakarta.apache.org/site/binindex.cgi 【程序编程相关:使用SOAP开发java web服务】tomcat目前版本为 5.0.28 【推荐阅读:jsp2 tag学习笔记】如果出现 【扩展信息:jfreechart里在页面上生成临时图】tomcat配置unable to find a javac compiler;com.sun.tools.javac.main is not on the classpath.perhaps java_home does not point to the jdk...tomcat classpath配置如下: c:\program files\apache software foundation\tomcat 5.0\bin\bootstrap.jar;c:\program files\java\jdk1.5.0\lib\tools.jar mysql目前版本为 4.0.21下载地址: http://dev.mysql.com/downloads/mysql/4.0.html mysql配置 c:\mysql\bin>mysqld //启动mysql的服务进程 c:\mysql\bin\mysql -uroot //连接到mysql数据库 mysql>update user set password=password(<new_root_password>) where user=root; mysql>flush privileges; 上面的操作是修改root用户的密码,<new_root_password>是你设置的密码. mysql>create database gamedb; //创建gamedb库 mysql>connect gamedb; //连接到gamedb库 mysql>source gamedb.sql; //gamedb初始化建表 mysql>grant select, insert, update, delete, index, alter, create, drop, references, lock tables, create temporary tables on gamedb.* to gamedb@localhost identified by <gamedb_password>; mysql>flush privileges; 上面是建立gamedb用户,<gamedb_password>为gamedb用户的密码. mysql>exit; //退出
下载mysql jdbc
connector/j 3.0.15-ga (mysql.com提供的jdbc driver) 下载地址:http://dev.mysql.com/downloads/connector/j/3.0.html ... 下一页