Ken Zhang

Greenhorn
+ Follow
since Mar 17, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ken Zhang

Hi
Here is my working solution to connect MySQL with SUN J2EE 1.4 application server. I used this one and it works in my machine. I am sure two things you may need to take into consideration.
1, the property , I just put the url into the property name and the value is the followings,
2, make sure you use the correct username and password.
Database classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
You can also use: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
Hope this can help!
Ken
And ive added the property:
url = jdbc:mysql://localhost:3306/stocks?user=stocks&password=stocks
17 years ago