Skip to content

Commit c618505

Browse files
authored
操作MySQL数据库
1 parent a31b849 commit c618505

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

28-操作MySQL数据库/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 操作MySQL数据库 TestSQL
2+
------
3+
4+
MFC执行MySQL语句并查看效果
5+
> * 效果
6+
> * 过程
7+
8+
------
9+
## 效果
10+
![image](https://github.com/luguanxing/Win32-Programming/blob/master/28-%E6%93%8D%E4%BD%9CMySQL%E6%95%B0%E6%8D%AE%E5%BA%93/pictures/0.gif?raw=true)
11+
<br>执行MySQL语句<br><br>
12+
<br><br>
13+
14+
## 过程
15+
16+
### 1.添加包含目录
17+
\MySQL Server 5.7\include;
18+
19+
### 2.添加引用目录和库目录
20+
\MySQL Server 5.7\lib;
21+
22+
### 3.链接器附加依赖项
23+
libmysql.lib
24+
25+
### 4.将libmysql.lib和libmysql.dll复制到工程目录(区分32/64位)
26+
<br>
27+
28+
### 5.添加头文件mysql.h
29+
<br>
30+
31+
32+
33+

0 commit comments

Comments
 (0)