05 2020 档案
摘要:下载:https://github.com/mybatis/mybatis-3/releases API:https://mybatis.org/mybatis-3/zh/getting-started.html 持久层框架 (Spring的JdbcTemplate、Apache的DBUtils是工
阅读全文
摘要:查看当前字符集: show VARIABLES like 'character%'; 1. 修改配置文件 my.ini [mysqld] character-set-server=utf8 [mysql] default-character-set=utf8 2. 修改数据库默认编码 alter d
阅读全文
摘要:1. 前端 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>testHttpServlet</title> </head> <body> <form action="/jeetest/testHttpServ
阅读全文
摘要:MYSQL *my; //①初始化MYSQL my=mysql_init(NULL); char ip[]="127.0.0.1"; char user[]="root"; char pass[]="123"; char database[]="testx"; int port = 3306; //
阅读全文