I keep getting this message.

undefined reference to `mysql_get_client_info'

From what I can figure out when I google it I am not linking correctly. So I tried this.

gcc *.c -L"C:\Program Files\MySQL\MySQL Server 5.7\lib"

Can I please get some help on what I am doing wrong?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.