Thank you for your help. So mysql_real_connect() is a function of MySQL C API. Isn't it? And i have to use a C Compiler to compile this function? I read these things in "MySQL Reference Manual for version4.0.12" and i compiled it by MS Visual C++ but unsuccess. Do you know how to solve this problem? Show me please. I' very thanks!