摘要:        
写了一个很简单的测试数据库连接的程序conn.c如下:#include <stdio.h>#include <stdlib.h>#include "/usr/local/mysql/include/mysql/mysql.h"#include <string.h>int main(int argc, char *argv[]){MYSQL my_connection;mysql_init(&my_connection);if (mysql_real_connect(&my_connection, "localho    阅读全文
posted @ 2013-04-06 22:47
瑞尼书苑
阅读(7392)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号