|
-
Nov 16th, 2009, 12:43 PM
#1
Thread Starter
Member
[RESOLVED] 8 out of 10 work
I create an application in VB.net which connects to MySQL, deployed it to 10 computers. 8 of them worked perfectly, 2 of them gave me the error:
Unable to connect to any of the specified MySQL hosts.
What was different with those 2 computers? Is there any setting I need to do on the MySQL server itself? Anything I need to change/update on those two computers?
-
Nov 16th, 2009, 12:58 PM
#2
Re: 8 out of 10 work
What is different about those machines? Are they running a different OS (Vista or 7)? You may want to check the firewalls on those machines to see if they are blocking outbound connections for your application.
-
Nov 16th, 2009, 01:48 PM
#3
Thread Starter
Member
Re: 8 out of 10 work
 Originally Posted by Negative0
What is different about those machines? Are they running a different OS (Vista or 7)? You may want to check the firewalls on those machines to see if they are blocking outbound connections for your application.
Thanks for the response! They are all windows XP. I turned firewall off. Here's another thing I tried:
There's one place that has 3 computers connected to one router. The other two computers worked perfectly, one gave me the error.
Unable to connect to any of the specified MySQL hosts.
I pinged the mysql server address and it worked on the two that connnected. The one it didn't work on gave me a request timed out.
-
Nov 16th, 2009, 01:55 PM
#4
Member
Re: 8 out of 10 work
Is the network segmented?
If so, are the two computers that won't connect on the same network segment as the eight that will connect?
-
Nov 19th, 2009, 11:06 AM
#5
Thread Starter
Member
Re: 8 out of 10 work
i got it. Thank you for the response. Here's what I did
Code:
ipconfig /flushdns
ipconfig /registerdns
and it did it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|