Thread: JDBC connection

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    I am having some trouble connecting a Java applet to mysql using the JDBC. Whenever I try to connect to the server where the database is I get an error that says:

    Server configuration denies access to data source

    I am using Java 1.2, mm.mysql driver, Netscape 4.73 and Internet Explorer 5.

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 1999
    Location
    Netherlands
    Posts
    77
    Rep Power
    15
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by dkbrad:
    I am having some trouble connecting a Java applet to mysql using the JDBC. Whenever I try to connect to the server where the database is I get an error that says:

    Server configuration denies access to data source

    I am using Java 1.2, mm.mysql driver, Netscape 4.73 and Internet Explorer 5.

    Thanks
    [/quote]

    On which server is the MySQL dbase installed?
    The problem is that from an applet it is not possible to connect to another server than where the applet itself came from. This is a Java security issue.

    Peter

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Posts
    3
    Rep Power
    0
    The applet is coming from the server

Similar Threads

  1. PostgreSQL jdbc connection refused
    By daniel_baylon in forum PostgreSQL Help
    Replies: 0
    Last Post: August 5th, 2003, 04:53 PM
  2. jdbc connection..
    By sgaucho in forum Java Help
    Replies: 3
    Last Post: September 19th, 2002, 11:33 AM
  3. JDBC connection timeout
    By khyim8 in forum MySQL Help
    Replies: 0
    Last Post: May 27th, 2002, 09:41 PM
  4. JDBC connection
    By C3P0 in forum PHP Development
    Replies: 1
    Last Post: February 27th, 2002, 08:44 PM
  5. JDBC : MySQL Connection
    By Zitan in forum Java Help
    Replies: 4
    Last Post: August 31st, 2001, 05:34 PM

IMN logo majestic logo threadwatch logo seochat tools logo