Results 1 to 5 of 5

Thread: [RESOLVED] 8 out of 10 work

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2009
    Posts
    36

    Resolved [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?

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2009
    Posts
    36

    Re: 8 out of 10 work

    Quote Originally Posted by Negative0 View Post
    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.

  4. #4
    Member
    Join Date
    Mar 2008
    Posts
    33

    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?

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2009
    Posts
    36

    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
  •  



Click Here to Expand Forum to Full Width