|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
mysql and JSP
Hi
I think I have a problem connectiong to MYSQL using JSP. It miht be i do not have jdbc driver or something! here is what i use: <html> <head> </head> <%@ page language="java" import="java.sql.*" %> <body> <% Class.forName("org.gjt.mm.mysql.Driver"); //assume database "test", user "root", password "" // change this as per your requirements Connection myConn = DriverManager.getConnection("jdbc:mysql://localhost/alpha?user=root&password=root"); ..... .... and I get many many errors where can I find this driver I run all of this under windows xp thanks milan |
|
#2
|
|||
|
|||
|
You will need the Connector/J driver.
Go to the mysql site and it will be at the top of the page.
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > mysql and JSP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|