Multithreaded access to the MySQL database source
2016-08-23
0 0 0
no vote
Other
Earn points
This is divided into 3 main parts:
1.DBSqlMan is a multi-threaded access MySQL dynamic library
2.MySQL5, open source under Windows using mysql2 development library, MySQL's official website you can download
3.testDb, a simple example of application DBSqlMan
The entire project has been running in VS2005 by and used in practical applications. Provides MySQL access efficiency
Simple explanation of CMySQLMan class interface:
SetMaxConnectNum------sets the maximum number of connections MySQL?, when calling ConnectDB created x number of database connections
SetCharset------sets the encoding format, mainly GB2312 or UTF8
ConnectDB------to connect to the database
GetIdleMySql------Gets a MySQL connection does not use
ReleaseMysql------released a MySQL connection in use
SelectRecordbySP/SelectRecord------performs an SQL statement, returning a result set (mainly used in query)
FreeRecord------releases a result set
ExecSP/Exec
1.DBSqlMan is a multi-threaded access MySQL dynamic library
2.MySQL5, open source under Windows using mysql2 development library, MySQL's official website you can download
3.testDb, a simple example of application DBSqlMan
The entire project has been running in VS2005 by and used in practical applications. Provides MySQL access efficiency
Simple explanation of CMySQLMan class interface:
SetMaxConnectNum------sets the maximum number of connections MySQL?, when calling ConnectDB created x number of database connections
SetCharset------sets the encoding format, mainly GB2312 or UTF8
ConnectDB------to connect to the database
GetIdleMySql------Gets a MySQL connection does not use
ReleaseMysql------released a MySQL connection in use
SelectRecordbySP/SelectRecord------performs an SQL statement, returning a result set (mainly used in query)
FreeRecord------releases a result set
ExecSP/Exec
c++
mysql
线程
数据库
访问
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Free download of student loan program for college
0
0
no vote
Free download of smart community source code
0
0
no vote
No comment