在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例C/C++语言基础 → c++ ODB 连接 mysql

c++ ODB 连接 mysql

C/C++语言基础

下载此实例
  • 开发语言:C/C++
  • 实例大小:13.97M
  • 下载次数:4
  • 浏览次数:12
  • 发布时间:2023-10-20
  • 实例类别:C/C++语言基础
  • 发 布 人:chenxiaolan
  • 文件格式:.rar
  • 所需积分:2
 相关标签: MySql sql c++ OD 连接

实例介绍

【实例简介】C ORM 框架ODB 连接mysql,本人利用ODB 做数据库连接的测试,并木有写实体类,望谅解。

【实例截图】

from clipboard

【核心代码】

.
├── TestOdbConnectMySql
│   ├── Debug
│   │   ├── libmysql.dll
│   │   ├── libmysql.lib
│   │   ├── mysqlclient.lib
│   │   ├── odb-d-2.2-vc10.dll
│   │   ├── odb-d.lib
│   │   ├── odb-mysql-d-2.2-vc10.dll
│   │   ├── odb-mysql-d.exp
│   │   └── odb-mysql-d.lib
│   ├── TestOdbConnectMySql
│   │   ├── Debug
│   │   │   ├── TestOdbConnectMySql.Build.CppClean.log
│   │   │   └── TestOdbConnectMySql.log
│   │   ├── ReadMe.txt
│   │   ├── TestOdbConnectMySql.cpp
│   │   ├── TestOdbConnectMySql.vcxproj
│   │   ├── TestOdbConnectMySql.vcxproj.filters
│   │   ├── TestOdbConnectMySql.vcxproj.user
│   │   ├── stdafx.cpp
│   │   ├── stdafx.h
│   │   └── targetver.h
│   ├── TestOdbConnectMySql.sdf
│   ├── TestOdbConnectMySql.sln
│   ├── TestOdbConnectMySql.suo
│   ├── include
│   │   ├── decimal.h
│   │   ├── errmsg.h
│   │   ├── keycache.h
│   │   ├── m_ctype.h
│   │   ├── m_string.h
│   │   ├── my_alloc.h
│   │   ├── my_attribute.h
│   │   ├── my_compiler.h
│   │   ├── my_config.h
│   │   ├── my_dbug.h
│   │   ├── my_dir.h
│   │   ├── my_getopt.h
│   │   ├── my_global.h
│   │   ├── my_list.h
│   │   ├── my_net.h
│   │   ├── my_pthread.h
│   │   ├── my_sys.h
│   │   ├── my_xml.h
│   │   ├── mysql
│   │   │   ├── client_plugin.h
│   │   │   ├── innodb_priv.h
│   │   │   ├── plugin.h
│   │   │   ├── plugin_audit.h
│   │   │   ├── plugin_auth.h
│   │   │   ├── plugin_auth_common.h
│   │   │   ├── plugin_ftparser.h
│   │   │   ├── psi
│   │   │   │   ├── mysql_file.h
│   │   │   │   ├── mysql_thread.h
│   │   │   │   ├── psi.h
│   │   │   │   ├── psi_abi_v1.h
│   │   │   │   └── psi_abi_v2.h
│   │   │   ├── service_my_snprintf.h
│   │   │   ├── service_thd_alloc.h
│   │   │   ├── service_thd_wait.h
│   │   │   ├── service_thread_scheduler.h
│   │   │   ├── services.h
│   │   │   └── thread_pool_priv.h
│   │   ├── mysql.h
│   │   ├── mysql_com.h
│   │   ├── mysql_embed.h
│   │   ├── mysql_time.h
│   │   ├── mysql_version.h
│   │   ├── mysqld_ername.h
│   │   ├── mysqld_error.h
│   │   ├── plugin.h
│   │   ├── plugin_audit.h
│   │   ├── plugin_ftparser.h
│   │   ├── sql_common.h
│   │   ├── sql_state.h
│   │   ├── sslopt-case.h
│   │   ├── sslopt-longopts.h
│   │   ├── sslopt-vars.h
│   │   └── typelib.h
│   ├── ipch
│   │   └── testodbconnectmysql-7a282192
│   │       └── testodbconnectmysql-3f69f5e1.ipch
│   ├── lib
│   │   ├── libmysql.dll
│   │   ├── libmysql.lib
│   │   ├── mysqlclient.lib
│   │   ├── odb-d-2.2-vc10.dll
│   │   ├── odb-d.lib
│   │   ├── odb-mysql-d-2.2-vc10.dll
│   │   ├── odb-mysql-d.exp
│   │   └── odb-mysql-d.lib
│   └── odb
│       ├── Makefile.am
│       ├── Makefile.in
│       ├── cache-traits.hxx
│       ├── callback.cxx
│       ├── callback.hxx
│       ├── compilers
│       │   └── vc
│       │       ├── post.hxx
│       │       └── pre.hxx
│       ├── config.h.in
│       ├── connection.cxx
│       ├── connection.hxx
│       ├── connection.ixx
│       ├── connection.txx
│       ├── container-traits.hxx
│       ├── core.hxx
│       ├── database.cxx
│       ├── database.hxx
│       ├── database.ixx
│       ├── database.txx
│       ├── details
│       │   ├── buffer.cxx
│       │   ├── buffer.hxx
│       │   ├── c-string.hxx
│       │   ├── condition.cxx
│       │   ├── condition.hxx
│       │   ├── config-vc.h
│       │   ├── config.h.in
│       │   ├── config.hxx
│       │   ├── exception.hxx
│       │   ├── export.hxx
│       │   ├── lock.cxx
│       │   ├── lock.hxx
│       │   ├── meta
│       │   │   ├── answer.hxx
│       │   │   ├── class-p.hxx
│       │   │   ├── polymorphic-p.hxx
│       │   │   ├── remove-const-volatile.hxx
│       │   │   ├── remove-const.hxx
│       │   │   ├── remove-pointer.hxx
│       │   │   └── remove-volatile.hxx
│       │   ├── mutex.cxx
│       │   ├── mutex.hxx
│       │   ├── posix
│       │   │   ├── condition.hxx
│       │   │   ├── condition.ixx
│       │   │   ├── exceptions.cxx
│       │   │   ├── exceptions.hxx
│       │   │   ├── mutex.hxx
│       │   │   ├── mutex.ixx
│       │   │   ├── thread.cxx
│       │   │   ├── thread.hxx
│       │   │   ├── thread.ixx
│       │   │   ├── tls.hxx
│       │   │   ├── tls.ixx
│       │   │   └── tls.txx
│       │   ├── shared-ptr
│       │   │   ├── base.cxx
│       │   │   ├── base.hxx
│       │   │   ├── base.ixx
│       │   │   ├── base.txx
│       │   │   └── counter-type.hxx
│       │   ├── shared-ptr-fwd.hxx
│       │   ├── shared-ptr.hxx
│       │   ├── thread.hxx
│       │   ├── tls.hxx
│       │   ├── transfer-ptr.hxx
│       │   ├── type-info.hxx
│       │   ├── unique-ptr.hxx
│       │   ├── unused.hxx
│       │   ├── win32
│       │   │   ├── condition.cxx
│       │   │   ├── condition.hxx
│       │   │   ├── condition.ixx
│       │   │   ├── dll.cxx
│       │   │   ├── exceptions.cxx
│       │   │   ├── exceptions.hxx
│       │   │   ├── init.cxx
│       │   │   ├── init.hxx
│       │   │   ├── lock.hxx
│       │   │   ├── mutex.hxx
│       │   │   ├── mutex.ixx
│       │   │   ├── once-init.hxx
│       │   │   ├── once.cxx
│       │   │   ├── once.hxx
│       │   │   ├── once.ixx
│       │   │   ├── thread.cxx
│       │   │   ├── thread.hxx
│       │   │   ├── tls-init.hxx
│       │   │   ├── tls.cxx
│       │   │   ├── tls.hxx
│       │   │   ├── tls.ixx
│       │   │   ├── tls.txx
│       │   │   └── windows.hxx
│       │   └── wrapper-p.hxx
│       ├── exception.hxx
│       ├── exceptions.cxx
│       ├── exceptions.hxx
│       ├── forward.hxx
│       ├── function-table.hxx
│       ├── lazy-pointer-traits.hxx
│       ├── lazy-ptr-impl.cxx
│       ├── lazy-ptr-impl.hxx
│       ├── lazy-ptr-impl.ixx
│       ├── lazy-ptr-impl.txx
│       ├── lazy-ptr.hxx
│       ├── lazy-ptr.ixx
│       ├── lazy-ptr.txx
│       ├── libodb-vc10.vcxproj
│       ├── libodb-vc10.vcxproj.filters
│       ├── libodb-vc10.vcxproj.user
│       ├── libodb-vc11.vcxproj
│       ├── libodb-vc11.vcxproj.filters
│       ├── libodb-vc9.vcproj
│       ├── mysql
│       │   ├── Debug
│       │   │   ├── CL.read.1.tlog
│       │   │   ├── CL.write.1.tlog
│       │   │   ├── cl.command.1.tlog
│       │   │   ├── connection-factory.obj
│       │   │   ├── connection.obj
│       │   │   ├── database.obj
│       │   │   ├── details
│       │   │   │   └── options.obj
│       │   │   ├── enum.obj
│       │   │   ├── error.obj
│       │   │   ├── exceptions.obj
│       │   │   ├── libodb-mysql-vc10.lastbuildstate
│       │   │   ├── libodb-mysql-vc10.log
│       │   │   ├── libodb-mysql-vc10.write.1.tlog
│       │   │   ├── link-cvtres.read.1.tlog
│       │   │   ├── link-cvtres.write.1.tlog
│       │   │   ├── link.14872-cvtres.read.1.tlog
│       │   │   ├── link.14872-cvtres.write.1.tlog
│       │   │   ├── link.14872.read.1.tlog
│       │   │   ├── link.14872.write.1.tlog
│       │   │   ├── link.command.1.tlog
│       │   │   ├── link.read.1.tlog
│       │   │   ├── link.write.1.tlog
│       │   │   ├── mt.command.1.tlog
│       │   │   ├── mt.read.1.tlog
│       │   │   ├── mt.write.1.tlog
│       │   │   ├── odb-mysql-d-2.2-vc10.dll.embed.manifest
│       │   │   ├── odb-mysql-d-2.2-vc10.dll.embed.manifest.res
│       │   │   ├── odb-mysql-d-2.2-vc10.dll.intermediate.manifest
│       │   │   ├── odb-mysql-d-2.2-vc10_manifest.rc
│       │   │   ├── prepared-query.obj
│       │   │   ├── query-const-expr.obj
│       │   │   ├── query-dynamic.obj
│       │   │   ├── query.obj
│       │   │   ├── rc.command.1.tlog
│       │   │   ├── rc.read.1.tlog
│       │   │   ├── rc.write.1.tlog
│       │   │   ├── simple-object-statements.obj
│       │   │   ├── statement.obj
│       │   │   ├── statements-base.obj
│       │   │   ├── tracer.obj
│       │   │   ├── traits.obj
│       │   │   ├── transaction-impl.obj
│       │   │   ├── transaction.obj
│       │   │   ├── vc100.idb
│       │   │   └── vc100.pdb
│       │   ├── Makefile.am
│       │   ├── Makefile.in
│       │   ├── auto-handle.hxx
│       │   ├── binding.hxx
│       │   ├── config.h.in
│       │   ├── connection-factory.cxx
│       │   ├── connection-factory.hxx
│       │   ├── connection.cxx
│       │   ├── connection.hxx
│       │   ├── connection.ixx
│       │   ├── container-statements.hxx
│       │   ├── container-statements.txx
│       │   ├── database.cxx
│       │   ├── database.hxx
│       │   ├── database.ixx
│       │   ├── details
│       │   │   ├── config.h.in
│       │   │   ├── config.hxx
│       │   │   ├── conversion.hxx
│       │   │   ├── export.hxx
│       │   │   ├── options.cli
│       │   │   ├── options.cxx
│       │   │   ├── options.hxx
│       │   │   └── options.ixx
│       │   ├── enum.cxx
│       │   ├── enum.hxx
│       │   ├── error.cxx
│       │   ├── error.hxx
│       │   ├── exceptions.cxx
│       │   ├── exceptions.hxx
│       │   ├── forward.hxx
│       │   ├── libodb-mysql-vc10.vcxproj
│       │   ├── libodb-mysql-vc10.vcxproj.filters
│       │   ├── libodb-mysql-vc10.vcxproj.user
│       │   ├── libodb-mysql-vc11.vcxproj
│       │   ├── libodb-mysql-vc11.vcxproj.filters
│       │   ├── libodb-mysql-vc9.vcproj
│       │   ├── mysql-types.hxx
│       │   ├── mysql.hxx
│       │   ├── no-id-object-result.hxx
│       │   ├── no-id-object-result.txx
│       │   ├── no-id-object-statements.hxx
│       │   ├── no-id-object-statements.txx
│       │   ├── polymorphic-object-result.hxx
│       │   ├── polymorphic-object-result.txx
│       │   ├── polymorphic-object-statements.hxx
│       │   ├── polymorphic-object-statements.txx
│       │   ├── prepared-query.cxx
│       │   ├── prepared-query.hxx
│       │   ├── query-const-expr.cxx
│       │   ├── query-dynamic.cxx
│       │   ├── query-dynamic.hxx
│       │   ├── query-dynamic.ixx
│       │   ├── query-dynamic.txx
│       │   ├── query.cxx
│       │   ├── query.hxx
│       │   ├── query.ixx
│       │   ├── query.txx
│       │   ├── simple-object-result.hxx
│       │   ├── simple-object-result.txx
│       │   ├── simple-object-statements.cxx
│       │   ├── simple-object-statements.hxx
│       │   ├── simple-object-statements.ixx
│       │   ├── simple-object-statements.txx
│       │   ├── statement-cache.hxx
│       │   ├── statement-cache.txx
│       │   ├── statement.cxx
│       │   ├── statement.hxx
│       │   ├── statements-base.cxx
│       │   ├── statements-base.hxx
│       │   ├── tracer.cxx
│       │   ├── tracer.hxx
│       │   ├── traits.cxx
│       │   ├── traits.hxx
│       │   ├── transaction-impl.cxx
│       │   ├── transaction-impl.hxx
│       │   ├── transaction-impl.ixx
│       │   ├── transaction.cxx
│       │   ├── transaction.hxx
│       │   ├── transaction.ixx
│       │   ├── version.hxx
│       │   ├── view-result.hxx
│       │   ├── view-result.txx
│       │   ├── view-statements.hxx
│       │   └── view-statements.txx
│       ├── no-id-object-result.hxx
│       ├── no-id-object-result.txx
│       ├── no-op-cache-traits.hxx
│       ├── nullable.hxx
│       ├── object-result.hxx
│       ├── pointer-traits.hxx
│       ├── polymorphic-info.hxx
│       ├── polymorphic-map.hxx
│       ├── polymorphic-map.ixx
│       ├── polymorphic-map.txx
│       ├── polymorphic-object-result.hxx
│       ├── polymorphic-object-result.txx
│       ├── post.hxx
│       ├── pre.hxx
│       ├── prepared-query.cxx
│       ├── prepared-query.hxx
│       ├── query-dynamic.cxx
│       ├── query-dynamic.hxx
│       ├── query-dynamic.ixx
│       ├── query-dynamic.txx
│       ├── query.hxx
│       ├── result.cxx
│       ├── result.hxx
│       ├── schema-catalog-impl.hxx
│       ├── schema-catalog.cxx
│       ├── schema-catalog.hxx
│       ├── session.cxx
│       ├── session.hxx
│       ├── session.ixx
│       ├── session.txx
│       ├── simple-object-result.hxx
│       ├── simple-object-result.txx
│       ├── statement.cxx
│       ├── statement.hxx
│       ├── std-array-traits.hxx
│       ├── std-forward-list-traits.hxx
│       ├── std-list-traits.hxx
│       ├── std-map-traits.hxx
│       ├── std-set-traits.hxx
│       ├── std-unordered-map-traits.hxx
│       ├── std-unordered-set-traits.hxx
│       ├── std-vector-traits.hxx
│       ├── tracer.cxx
│       ├── tracer.hxx
│       ├── traits.hxx
│       ├── transaction.cxx
│       ├── transaction.hxx
│       ├── transaction.ixx
│       ├── vector-impl.cxx
│       ├── vector-impl.hxx
│       ├── vector-impl.ixx
│       ├── vector-traits.hxx
│       ├── vector-traits.txx
│       ├── vector.hxx
│       ├── vector.ixx
│       ├── version.hxx
│       ├── view-result.hxx
│       ├── view-result.txx
│       └── wrapper-traits.hxx
└── c ODB  连接 mysql.rar

22 directories, 378 files


标签: MySql sql c++ OD 连接

实例下载地址

c++ ODB 连接 mysql

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警