发布时间:2015-11-19 20:26:25
mys.h#ifndef __MYS_H__#define __MYS_H__#include <stdio.h>#include <stdlib.h>#include <string.h>#include "/usr/include/mysql/mysql.h"extern int record_change(const char.........【阅读全文】
发布时间:2015-11-19 20:12:27
一、Json转string main.c#include <string.h>#include "js.h" //{"type":1,"user":{"username":"xxx";"password":"1234"},"result":1}int main(void){ struct fee.........【阅读全文】
发布时间:2015-11-10 16:18:24
1-编辑mysql的配置文件/etc/mysql/my.cnf,在[mysqld]段下加入一行“skip-grant-tables”。2-重启mysql服务 @ubuntu:~$ sudo service mysql restart 3-用空密码进入mysql管理命令行,切换到mysql库。 @ubuntu:~$ mysql&n.........【阅读全文】