Search:

Type: Posts; User: Mr.777

Search: Search took 0.10 seconds.

  1. Re: connection to a database on another computer(server)

    The reason is your machine can not communicate with the machine you are actually trying to. This machine do exists else there would be an error saying "Can not find host machine" or whatever like...
  2. Re: connection to a database on another computer(server)

    Class.forName(DRIVER);
    Pass Class.forName the actual driver, not the word driver. Is DRIVER a string? If no, then paste your driver in here and see if it can load the driver. If it gets driver...
  3. Re: connection to a database on another computer(server)

    Class.forName(DRIVER);
    What's DRIVER? Do you really think, compiler will let you pass from this statement?

    connection =...
  4. Re: connection to a database on another computer(server)

    Welcome to Java Programming Forums. Don't forget to read the rules.
    What have you tried yet? Where actually the problem exists? Post your code here so that we could have a look over this.
Results 1 to 4 of 4