Thank you! That was it. I was looking at a book written by someone. I shall know now not to trust that always and to look at the documentation.
Thanks again
When I use the machine name it gets past the java.net.UnknownHostException and puts me back to my original problem: it does not recognize the user and password parameter in server.xml
I had the driver part correct, I just typed it wrong here. I used my domain without the machine name in front then followed with :3306 and I get the following exception: java.net.UnknownHostException
Here is the resourse in server.xml:
<Resource name="jdbc/myDatabase"
type="javax.sql.DataSource"
auth="Container"
debug="6"
/>
<ResourceParams name="jdbc/myDatabase"/>
<paramater>
<name>user</name>
<value>someuser</value>
</parameter>...
I am trying to enter the value for the url parameter for a mysql jdbc resource in server.xml. I am entering the url without the user and password appended because I am including a user and password parameter in the resourse. Yet when I hit the servlet, it says "Access denied for user...
I am new to mysql. I am trying to escape out of an interactive statement. I started a statement like so: CREATE TABLE sometable (
> firstcolumn char(30) not null,
> secondcolumn char(20) not null'
'>
As you can see after the second column I entered a ' instead of a , so I want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.