摘要:
安装sudo apt-get install mysql-server//单独装了mysql以后已经可以使用了,但还不能用c连接,编译的时候会提示找不到mysql.h,还要安装libmysqlclient-devapt-get install libmysqlclient-dev准备:初始化库函数,初始化mysqlchar* server_groups[]={"embedded","server","this_program_server",(char*)NULL}; MYSQL *pmysql=new MYSQL; if(mysql 阅读全文