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