connecting mysql with c++

I tried to connect c++ with mysql.To link between mysql and dev c++ i installed the package libmysql and I also added the linker file -lmysql in tools->compiler options . But when i m running the code it saying cannot find -lmysql
you need to add the search directory for the lib file.

Maybe you need also to write the full library name (-llibmysql.a)
Topic archived. No new replies allowed.