Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection issue - jdbc and xml

Status
Not open for further replies.

Macinslaw

MIS
Aug 4, 2006
9
US
I am using mysql 5 and need to connect to it from an application. I am running tomcat 4.1, mysql 5 and jave sdk 6 on Windows server 2000. I have the following placed in an xml file, but the error log tells me that it is unable to connect can anyone assist me?

I have asked the same on a tomcat site.

<dbConf>
<dbDriver>org.gjt.mm.mysql.Driver</dbDriver>
<dbUrl>jdbc:mysql://localhost/sysaid</dbUrl>
<dbUser>private</dbUser>
<dbPassword>private</dbPassword>
<dbType>mysql</dbType>
<dbEncoding>utf-8</dbEncoding>
<dbMultiply>false</dbMultiply>
<dbMainName>ilient</dbMainName>
</dbConf>

-mac
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top