mysql c mysql_real_connect_MYSQL C API : mysql_real_connect()
MYSQL*mysql_real_connect(MYSQL*mysql,constchar*host,constchar*user,constchar*passwd,constchar*db,unsignedintport,constchar*unix_socket,unsignedlongclientflag);//连接到MYSQL数据库服务器在头文件mysql.h中声明//参数的说明请参考百