connecting my web Application to mysql

Hi,

I installed tomcat on my linode server,

and configured mysql

with a new DB : DBONE

and username/password : test/test

i configured my application in context.xml accordingly

source="org.eclipse.jst.jee.server:FillTrack">

maxActive="100" maxIdle="30" maxWait="10000" username="test"

password="test" driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://localhost:3306/DBONE" />

My application still can't connect to my DB, is there anything else i should do?

I set the tunnel from my desktop

and my local application can access the db , but the one hosted still can't. thx

Thank you for your help

1 Reply

sorry i just realized i didn't add the jdbc connector :S:S.

how can i add it to my tomcat ?

thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct