Blueprints MySQL Connector / UE4 | DTMysql plugin instructions

This plugin mainly supports connecting and operating MYSQL database in UE4 blueprint.

1. Database connection 【 Create Mysql 】

Enter:

Host: database IP address

Port: database open port

User: database username

Password: database password

DBName: Specifies the database library name of the connection

Output:

Success: Returns whether the database connection is successful

Error No: The connection error returns the error number, and the success returns 0

Error Msg: Connection error returns error message

2. Operate the database [Execute SQL]

Enter:


SQL: SQL statement to execute, supports SELECT, DELETE, INSERT, UPDATE, CALL. Basically all SQL statements are supported, and the database can be manipulated directly here.
Some knowledge of SQL syntax is required.


Output:

Success: Returns whether the operation was executed successfully

Error No: Error number, returns 0 successfully

Error Msg: Execution error returns error message

Rows: The number of rows of output results after execution

Result: Returns the database result set. If it is a CALL stored procedure or database function, it may return multiple result sets. In this case, [ Add Result ] is required, and add according to the actual return.

3. Result set decomposition

The result set returned by Result is an array of MAP, an array is equal to the information of one row, and the data of this row is stored in a MAP.

You can also use the built-in function of this plugin to convert the output result set to JSON.

在代码插件创建的MySQL Connector - 虚幻引擎商城 (unrealengine.com)

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值