I use linux and gnu compiler and i want to write a program to call database in mysql with c++ programming

while connecting mysql to server
in my program
I am getting errors like
ction `main':
data.cpp.text+0x12): undefined reference to `mysql_init'
data.cpp.text+0x8e): undefined reference to `mysql_real_connect'
data.cpp.text+0xa3): undefined reference to `mysql_error'
data.cpp.text+0xb1): undefined reference to `mysql_errno'
collect2: ld returned 1 exit status

what header files i should include to make mysql server connected with c++

can u please help