Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-04-2003, 10:15 PM   #1
Registered: May 2003
Location: Canada
Distribution: Fedora 13
Posts: 49

Rep: Reputation: 15
MySQL not allowing connections from Applet

Good evening,

One question I have is the host about the mysql.user table. How do you allow someone to connect from anywhere instead of the local machine? This kind of sets up the next part of this post.

I have a computer running rh9 with mysql and apache and j2sdk1.4 I wrote an applet that I would like to be served on a webpage, all I want it to do is read int values from a table in my database.

On my other computer I go to my page (over the net) where the applet is and my java console says:

"java.sql.SQLException: Server configuration denies access to data source"

has anyone seen and overcome this problem? I can't seem to find info on setting up mysql to accept these requests. All insights would be greatly appreciated.
Old 11-04-2003, 10:29 PM   #2
Registered: May 2003
Location: Canada
Distribution: Fedora 13
Posts: 49

Original Poster
Rep: Reputation: 15
I forgot to mention in my java code when I pass the URL I don't pass "localhost" I pass the of my domain.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot Allowing Incoming X Connections with xhost + libin88 Linux - Enterprise 1 11-09-2005 04:25 PM
Allowing connections to port 8080 in iptables apache363 Linux - Software 1 10-12-2004 03:14 PM
webserver - allowing connections from outside gateway? maverick106 Fedora 2 05-03-2004 11:01 AM
Allowing incoming connections only from a spesific country? herc Linux - Security 1 04-12-2004 03:56 AM
Allowing connections to apache and qmail in hosts.allow reesee Linux - Security 2 04-11-2004 11:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration