Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

MySQL

Run queries, insert, update, and delete rows in a MySQL database.

Data and storageCredentials form6 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (6)
  4. delete_row
  5. insert_row
  6. update_row
  7. execute_query
  8. find_rows
  9. get_tables
  10. Details

Connect

Auth type: Credentials form (custom_auth). Fill in the fields the provider needs (listed below). They are stored encrypted in the vault.

FieldTypeDescription
hostrequiredtextDatabase server hostname or IP address
portrequiredtextDatabase server port (default 3306)
userrequiredtextDatabase username
passwordrequiredsecretDatabase password
databaserequiredtextDatabase name to connect to
  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("mysql", "delete_row", {
    "table": "<table>",
    "search_column": "<search column>",
    "search_value": "<search value>"
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("MySQL answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "mysql-delete-row",
  name: "MySQL: Delete Row",
  description: "Calls MySQL when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("mysql", {
      "action": "delete_row",
      "table": "<table>",
      "search_column": "<search column>",
      "search_value": "<search value>"
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/mysql/delete_row" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"table":"<table>","search_column":"<search column>","search_value":"<search value>"}}'

Actions

delete_rowin catalog

Delete Row. Deletes one or more rows from a table

InputTypeDescription
timezoneoptionaltextTimezone for the MySQL server to use
tablerequiredid (picked from your account)Table
search_columnrequiredtextSearch Column
search_valuerequiredtextSearch Value

insert_rowin catalog

Insert Row. Inserts a new row into a table

InputTypeDescription
timezoneoptionaltextTimezone for the MySQL server to use
tablerequiredid (picked from your account)Table
valuesrequiredobjectValues

update_rowin catalog

Update Row. Updates one or more rows in a table

InputTypeDescription
timezoneoptionaltextTimezone for the MySQL server to use
tablerequiredid (picked from your account)Table
valuesrequiredobjectValues
search_columnrequiredtextSearch Column
search_valuerequiredtextSearch Value

execute_query

Execute Query. Executes a query on the mysql database and returns the results

InputTypeDescription
timezoneoptionaltextTimezone for the MySQL server to use
queryrequiredtextThe query string to execute, use ? for arguments to avoid SQL injection.
argsoptionalarrayArguments to use in the query, if any. Should be in the same order as the ? in the query string..

find_rows

Find Rows. Reads rows from a table

InputTypeDescription
timezoneoptionaltextTimezone for the MySQL server to use
tablerequiredid (picked from your account)Table
conditionrequiredtextSQL condition, can also include logic operators, etc.
argsoptionalarrayArguments can be used using ? in the condition
columnsoptionalarraySpecify the columns you want to select

get_tables

Get Tables. Returns a list of tables in the database

No input.

Details

Id
mysql
Category
Data and storage
Tags
database, sql, relational, open-source
Package
@activepieces/piece-mysql@0.2.3
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (6)
  4. delete_row
  5. insert_row
  6. update_row
  7. execute_query
  8. find_rows
  9. get_tables
  10. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use