[c#] Connection to MySQL DB ?

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by cabzx, Apr 20, 2008.

Thread Status:
Not open for further replies.
  1. cabzx

    cabzx New Member

    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    I tried to search informations concerning the way to connect myself to the MySQL databases using a c# method ( http://dev.mysql.com/downloads/connector/net/5.1.html ).

    I am missing one information for the connectionString : what is the SOURCE of the MySQL databases ?

    Thanks for your help,

    CaBz.
     
  2. woiwky

    woiwky New Member

    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    0
    I only really use C# for program development, and very rarely for websites, but I believe SOURCE is interchangeable with SERVER. So try localhost for that.
     
  3. MasterMax1313

    MasterMax1313 New Member

    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    c# won't run on x10 as a website. he may be trying to connect from a local program, in which case my guess would be the ip address of your site, which can be found in cpanel. keep in mind you'll need to permit your own IP access to the sql server, also done in cpanel.
     
  4. Starshine

    Starshine Legend Killer

    Messages:
    14,423
    Likes Received:
    0
    Trophy Points:
    0
    Remote connections to MySQL is disabled. ( meaning trying to connect to your database from a different machine or location is not allowed )
     
  5. cabzx

    cabzx New Member

    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    I appreciate your answers.
     
  6. Pinkyy

    Pinkyy New Member

    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    phpmyadmin isnt hard to sue tho :|
     
  7. LHVWB

    LHVWB New Member

    Messages:
    1,308
    Likes Received:
    0
    Trophy Points:
    0
    This issue seems to be resolved, if the author has any questions about this issue then they can reopen this thread.

    * Closed *
     
Thread Status:
Not open for further replies.

Share This Page