LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-04-2003, 09:15 PM   #1
peteABK
Member
 
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, 09:29 PM   #2
peteABK
Member
 
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 xxxx.com of my domain.
 
  


Reply



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 03:25 PM
Allowing connections to port 8080 in iptables apache363 Linux - Software 1 10-12-2004 02:14 PM
webserver - allowing connections from outside gateway? maverick106 Fedora 2 05-03-2004 10:01 AM
Allowing incoming connections only from a spesific country? herc Linux - Security 1 04-12-2004 02:56 AM
Allowing connections to apache and qmail in hosts.allow reesee Linux - Security 2 04-11-2004 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 AM.

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