Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   C/C++ program to connect to Mysql server (http://www.go4expert.com/forums/c-cpp-program-connect-mysql-server-t23358/)

vineet_soliwal 20Sep2010 12:31

C/C++ program to connect to Mysql server
 
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

xpi0t0s 2Oct2010 13:43

Re: C/C++ program to connect to Mysql server
 
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?


All times are GMT +5.5. The time now is 19:55.