1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

C/C++ program to connect to Mysql server

Discussion in 'C++' started by vineet_soliwal, Sep 20, 2010.

  1. vineet_soliwal

    vineet_soliwal New Member

    Joined:
    Sep 20, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi guys, I need to write C/C++ program that connects to a Mysql server and lists all the hosts connected to it at that point.

    It's for an assignment and its pretty urgent. I'll be grateful if someone could help me out with that. Thanks in advance
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    How far have you got and where are you stuck?

    Do you know how to write a simple program to connect to MySQL? If not, try looking up some of the sample programs that are included with MySQL.

    Do you know how to find a host that is connected to MySQL?
     

Share This Page