Application Accessing MySQL remotely

I

Ike

I am making a simple jdbc connection a MySQL. When I run it locally (WinXP),
I connect no problem with

jdbc:mysql://localhost:3306/selectr_test?user=root&password=root


However, when I try to access remotely, as a java application, to a remote
MySQL database on an Apache server under RedHat Linux:

jdbc:mysql://www.select-right.com:3306/selectr_test?user=root&password=root

It just keep timing out on me without makin the connection. Anyone...any
ideas? Thanks, Ike
 
M

Missaka Wijekoon

Ike,

Mysql may not have bound to your external ip address, or it is not
accepting requests from the outside. From the remote machine try:
telnet www.select-right.com 3306
Can telnet connect? If not, you may have to change the config in MySQL
and/or your firewall settings.

-Missaka
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top