Yep you pasted it correctly ;).There is no mysql.lib ... You need to right click in your project click properties ->configuration properties->linker->Additional Library Directories and add your folder where is libmysql.lib . Linker->Input->Additional Dependencies . Here write libmysql.lib and click ok .Myśle , że zrozumiesz .Quote:
Sorry, I wrote: "Szymek, I see that you're from Poland. Tell me, where I have to change it? In #pragma comment I've got libmysql.lib, but compilator still request mysql.lib. What should I do? And, am I paste your code correctly?
Sk8ter @ Just use google translate....