i have written the code in visual studio c++ in console application in that i am trying to connect to mysql database but i am getting the following errors
1) unresolved external symbol _mysql_close@4 referenced in function _main PDIconsole
2)unresolved external symbol _mysql_error@4 referenced in function _main PDIconsole
3)unresolved external symbol _mysql_free_result@4 referenced in function _main PDIconsole
4)unresolved external symbol _mysql_fetch_row@4 referenced in function _main
5)unresolved external symbol _mysql_init@4 referenced in function _main PDIconsole
6)unresolved external symbol _mysql_query@8 referenced in function _main PDIconsole
7)unresolved external symbol _mysql_real_connect@32 referenced in function _main PDIconsole
8)unresolved external symbol _mysql_use_result@4 referenced in function _main PDIconsole
1) unresolved external symbol _mysql_close@4 referenced in function _main PDIconsole
2)unresolved external symbol _mysql_error@4 referenced in function _main PDIconsole
3)unresolved external symbol _mysql_free_result@4 referenced in function _main PDIconsole
4)unresolved external symbol _mysql_fetch_row@4 referenced in function _main
5)unresolved external symbol _mysql_init@4 referenced in function _main PDIconsole
6)unresolved external symbol _mysql_query@8 referenced in function _main PDIconsole
7)unresolved external symbol _mysql_real_connect@32 referenced in function _main PDIconsole
8)unresolved external symbol _mysql_use_result@4 referenced in function _main PDIconsole