LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MySQL not allowing connections from Applet (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-not-allowing-connections-from-applet-112490/)

peteABK 11-04-2003 09:15 PM

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.

peteABK 11-04-2003 09:29 PM

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.


All times are GMT -5. The time now is 06:08 AM.