請教高手怎麼用JSP串連mysql資料庫 發布作者:jackie 我下載了本站的留言本1.0,可是在串連資料庫時總是不成功,(我用的是tomcat5.5.9,MySQL Server 5.0,jdk1.5.0_06,這三個確定都可以正常使用)啟動並執行時候顯示 type Exception report message
作的一個jsp系統,開運行時總要報這樣的錯誤:HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception
cmd下切換到 mysql 安裝目錄例d:/mysql/bin (如果用WAMP安裝則是D:/wamp/bin/mysql/mysql5.1.30/bin)前提:mysql使用者root密碼為空白.輸入 mysql -u root mysqlmysql> 狀態下輸入 update user set password=password('新密碼') where user='root';回顯 Query OK, 0 rows affected (0.00 sec)Rows
先準備好軟體:Apache官方:apache_2.0.55-win32-x86-no_ssl.msi,更多版本在這裡;php官方:php-5.0.5-Win32.zip,更多鏡像,更多版本下載;mysql官方:mysql-4.1.14-win32.zip,更多鏡像,更多版本下載。 一、安裝Apache,配置成功一個普通網站伺服器運行下載好的“apache_2.0.55-win32-x86-no_ssl.msi”,出現如下介面:出現Apache HTTP Server 2.0.55的安裝嚮導介面,
//主鍵 alter table tabelname add new_field_id int(5) unsigned default 0 not null auto_increment ,add primary key (new_field_id);//增加一個新列 alter table t2 add d timestamp; alter table infos add ex tinyint not null default '0';//刪除列 alter table t2
個人勞動,還請尊重,如若轉載請註明出處。iihero@CSDN 看到有些朋友老問這個非安裝版與安裝版有什麼區別(當然是windows平台)乾脆寫了一個指令碼自動為其建立mysql5服務。 指令碼如下,將其放到解壓以後的目錄裡邊執行即可。@echo offecho "This is a demo script for auto installation of noninstall version of MySQL on Windows. "echo "Copyright: