Announcement

Collapse
No announcement yet.

wamp / mysql + c# connector

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • wamp / mysql + c# connector

    Hi everyone,
    Rather new to WAMP.
    I have a few local websites that employ mysql and php and they work fine.

    If I try to connect using the C# connector or .net's sql client, I get errors saying it cannot locate any of the mysql hosts.

    Please can you help me find out what is wrong?

    Firewall is set to allow port 3306 on TCP


    ---
    Error:
    ---------------------------
    Error
    ---------------------------
    Method:cMySql.Connect()

    There was an error: Unable to connect to any of the specified MySQL hosts.

    Error 1042
    ---------------------------
    OK
    ---------------------------

  • #2
    Re: wamp / mysql + c# connector

    http://stackoverflow.com/questions/4...l-from-c-sharp

    Does that help at all??

    Else Google has tons of help on it.

    http://www.bing.com/search?q=mysql.c...10TR&pc=MDDCJS

    Comment


    • #3
      Re: wamp / mysql + c# connector

      I was looking in the wrong place.
      I used the database name in place of the server name when passing the arguments to my connection function.
      Oops.
      Now connects!

      Comment

      Working...
      X