-
1. Re: Connection to MySql denied
roadrunner Jan 8, 2002 2:12 AM (in response to southin)I could not find an error in your jboss-config. So, I think your database is not configured to accept connections from remote.
- change your mysql-config
- Do you have a firewall ?
- Does "C:\telnet 192.168.1.202 3306" work ?
Or are you getting "Connection refused"
bye
Sven -
2. Re: Connection to MySql denied
southin Jan 9, 2002 9:50 AM (in response to southin)Sven:
Thank you for the reply and suggestions. I have tried most of your suggestions with no success.
I have drop my Linux firewall by making changes to the ipchain file, basically accepting any and all input from my home network. But yet I am unable to telnet to the my linux server or successfully connect to the mysql server. I have also diabled my firewall on the Windows 2000 server, the calling compugter. My next thing to do is to check the documentation for Mysql. I did look at the Mysql config file and specified the port to be 3306, but no success. I don't believe there is anything wrong with my network but more with setting up mysql.
Southin -
3. Re: Connection to MySql denied
micahr Jan 9, 2002 7:04 PM (in response to southin)If your mysql server is behind your gateway then you will need to forward the port 3306 back to the server. Look at the ip masquerading documentation for details on how to forward ports. If you have already done this or removed the gateway then you need to make sure that your remote system has permissions to access the linux system. Check hosts.allow and hosts.deny.
-
4. Re: Connection to MySql denied
kuma Aug 28, 2002 3:22 AM (in response to southin)Have you added so called anonymous user to MySql?
MySql JDBC driver(or JBoss) seems to connect to MySql as anonymous user.
Kuma -
5. Re: Connection to MySql denied
dsundstrom Aug 28, 2002 4:04 PM (in response to southin)Please, take this discusstion to the "Datasource Configuration" forum.