Overview
Add MySQL to any ModuleX agent or workflow. MySQL database integration via theaiomysql driver. Provides raw SQL execution + CRUD + stored procedures + introspection.
Authentication
MySQL Database Credentials
Authenticate using MySQL connection credentials (host/port/user/password/database).Required Credentials
Available Actions
execute_raw_query — Execute any SQL statement. Use '%s' for parameterized queries (DB-API style).
execute_raw_query — Execute any SQL statement. Use '%s' for parameterized queries (DB-API style).
create_row — INSERT a new row (returns affected_rows + last_insert_id)
create_row — INSERT a new row (returns affected_rows + last_insert_id)
delete_row — DELETE rows matching a WHERE condition
delete_row — DELETE rows matching a WHERE condition
update_row — UPDATE rows matching a WHERE condition
update_row — UPDATE rows matching a WHERE condition
find_row — SELECT * FROM table WHERE column <op> value
find_row — SELECT * FROM table WHERE column <op> value
execute_query_with_condition — SELECT * FROM table WHERE <condition>
execute_query_with_condition — SELECT * FROM table WHERE <condition>
execute_stored_procedure — CALL <stored_procedure>(...) with optional parameters
execute_stored_procedure — CALL <stored_procedure>(...) with optional parameters
list_tables — List all tables and views in the current database
list_tables — List all tables and views in the current database
Response
Limits & Quotas
- 60s connection timeout.
- Connections are not pooled — opened per call, closed via the context manager.
find_rowoperator allowlist:=,>,>=,<,!=,<=,LIKE.aiomysqlis imported lazily so the manifest can be inspected without the driver installed.