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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gschrade

    how to enter the url value for a mysql jdbc resource

    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
  2. gschrade

    how to enter the url value for a mysql jdbc resource

    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
  3. gschrade

    how to enter the url value for a mysql jdbc resource

    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
  4. gschrade

    how to enter the url value for a mysql jdbc resource

    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>...
  5. gschrade

    how to enter the url value for a mysql jdbc resource

    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...
  6. gschrade

    How to escape a statement

    That did the trick! Thank you
  7. gschrade

    How to escape a statement

    That was the first thing I tried. That did not work. Then I tried a closeing ); and that did not work...
  8. gschrade

    How to escape a statement

    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...

Part and Inventory Search

Back
Top