Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
Multithreaded access to the MySQL database source
no vote
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
aryu
2016-08-23
0
1
No more~