Files
Obsidian/03旧笔记本整理/00Trilium/学习/软件/Unreal/连接Mysql数据库.md
2026-02-04 17:04:00 +08:00

14 lines
911 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
**创建连接**
首先工程中需要一个_**MySQLDBConnectionActor**_类型的对象使用create  new connection创建连接目标即为_**MySQLDBConnectionActor**_类型的对象在该对象中可以使用on connection state change事件查询连接状态及连接错误信息
![[03旧笔记本整理/00Trilium/学习/软件/Unreal/zz图像缓存/Pasted image 20260125091829.png]]
![[03旧笔记本整理/00Trilium/学习/软件/Unreal/zz图像缓存/Pasted image 20260125091834.png]]
Tips:
只能将插件放到项目文件中插件放到项目内的Pluginsdll放到\Binaries\Win64如下图所示
![[03旧笔记本整理/00Trilium/学习/软件/Unreal/zz图像缓存/Pasted image 20260125091901.png]]
![[03旧笔记本整理/00Trilium/学习/软件/Unreal/zz图像缓存/Pasted image 20260125091908.png]]
![[mysqlcppconn-9-vs14.dll]]
![[libssl-1_1-x64.dll]]
![[libcrypto-1_1-x64.dll]]