资源简介
SimpleMySQLAssistPlugin1.1.0版本修正版.zip的更新包,注意需要首先获取该版本插件包,支持查询蓝图动态解析数据到结构体, ue4操作mysql 插件教程在我博客https://blog.csdn.net/u010925014/article/details/88876586 ,如遇地址失效,请去博客首页查找。

代码片段和文件信息
// Fill out your copyright notice in the Description page of Project Settings.
#include “MySQLConnectionObj.h“
#include “../Public/MySQLHelperFunctionLib.h“
//void UMySQLConnectionObj::InitMySQLConnectionInfo(const FString& MySQLHostIP const FString& MySQLUser const FString& MySQLPassword const FString& MySQLDatabaseName)
//{
// this->MySQLHostIP = MySQLHostIP;
// this->MySQLUser = MySQLUser;
// this->MySQLPassword = MySQLPassword;
// this->MySQLDatabaseName = MySQLDatabaseName;
//}
bool UMySQLConnectionObj::ConnectMySQL(const FString& MySQLHostIP const FString& MySQLUser const FString& MySQLPassword const FString& MySQLDatabaseName const bool ShowErrorMsg)
{
this->MySQLHostIP = MySQLHostIP;
this->MySQLUser = MySQLUser;
this->MySQLPassword = MySQLPassword;
this->MySQLDatabaseName = MySQLDatabaseName;
bool bIsOK = false;
FString Msg = ““;
con = UMySQLHelperFunctionLib::MySqlDBConnect(con MySQLHostIP MySQLUser MySQLPassword MySQLDatabaseName);
if (con)
{
Msg = “The database connect Successful! “;
bIsOK = true;
}
else
{
Msg = “The database connection failed. Check whether the SQL statement or the database exists or not! “;
bIsOK = false;
}
UMySQLHelperFunctionLib::MySQLExecuteShowMsgOnScreen(Msg ShowErrorMsg);
return bIsOK;
}
void UMySQLConnectionObj::DisConnectMySQL()
{
if (con)
{
con->close();
delete con;
}
}
bool UMySQLConnectionObj::GetMySQLConnectionStateIsClosed()
{
if (con && con->isClosed() )
return true;
else
return false;
}
bool UMySQLConnectionObj::ReConnectMySQL()
{
if (con && con->reconnect())
return true;
else
return false;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1697 2019-04-06 15:46 SimpleMySQLAssistPlugin\Private\MySQLConnectionObj.cpp
文件 29488 2019-05-22 14:22 SimpleMySQLAssistPlugin\Private\MySQLHelperFunctionLib.cpp
文件 680 2019-02-18 19:51 SimpleMySQLAssistPlugin\Private\SimpleMySQLAssistPlugin.cpp
文件 2613 2019-04-06 15:21 SimpleMySQLAssistPlugin\Public\MySQLConnectionObj.h
文件 13629 2019-05-22 14:15 SimpleMySQLAssistPlugin\Public\MySQLHelperFunctionLib.h
文件 335 2019-02-18 19:51 SimpleMySQLAssistPlugin\Public\SimpleMySQLAssistPlugin.h
文件 136 2019-05-22 14:40 SimpleMySQLAssistPlugin\使用说明.txt
目录 0 2019-05-21 17:23 SimpleMySQLAssistPlugin\Private
目录 0 2019-05-21 17:23 SimpleMySQLAssistPlugin\Public
目录 0 2019-05-22 14:40 SimpleMySQLAssistPlugin
----------- --------- ---------- ----- ----
48578 10
相关资源
- php mysql经典留言本源码 代码通俗易懂
- PHP MySQL 物流管理 数据库文件
- PHP MySQL 技术 毕业设计 物流管理系统
- php mysql 在线作业管理系统
- MySql.data.dll +使用说明
- 图书管理系统 PHP MYSQL实现
- [PHP MySQL]图书馆管理系统前后台全部代
- 基于PHP+MYSQL的学生成绩管理系统
- Spring+Struts2+Hibernate人力资源管理系统
- 我自己写php mysql聊天室
- mysql 数据库连接池
- 完整的php mysql js用户注册与登陆
- MySQL数据库用户在线注册系统
- mysql数据库驱动8.0.12版本
- mha4mysql-0.56-0.el6
- mysql_5.6.24_winx64
- MYSQL作业提交作业批改系统.zip
- Maven搭建Spring+Mybatis+MySql
- 成语首尾字用于成语接龙.sql
- MySQL中文手册api帮助文档
- linux_mysql5.1.66x86_64.zip
- oracle 到mysql转换工具
- 数据库原理实验指导书Mysql
- mysql 5.6 绿色精简版 5Mb
- mysql Premium 破解
- 深入浅出MySQL第二版本pdf
- 深入浅出MySQL.pdf
- 深入浅出mysql全文
- 全球国家及地区库,采集自腾讯QQ国内
- 数据库系统概念第六版大学模式数据
评论
共有 条评论