mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node operation allows you to create a new MySQL user for a specified MySQL database within the mittwald mStudio environment. It is useful when you need to programmatically manage database users, such as automating user creation during deployment or provisioning processes. For example, you can use this node to add a new user with specific access rights (full or readonly) and control their access IP mask and external access settings.

Properties

Name Meaning
Mysql Database Id The unique identifier of the MySQL database where the new user will be created.
Access Ip Mask Optional IP mask defining from which IP addresses the user can access the database.
Access Level The permission level granted to the user; options are "Full" (full access) or "Readonly".
Database Id Identifier of the database associated with the user.
Description A textual description for the MySQL user being created.
External Access Boolean flag indicating whether the user is allowed to access the database externally.
Password The password assigned to the new MySQL user.

Output

The node outputs JSON data representing the result of the MySQL user creation request. This typically includes details about the newly created user such as its ID, status, and any metadata returned by the mittwald API. There is no binary output involved.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node communicates with the mittwald API endpoint at https://api.mittwald.de.
  • Proper configuration of the API credential in n8n is necessary for successful requests.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
  • Invalid input data: Verify that all required fields (e.g., Mysql Database Id, Database Id, Password, Access Level) are provided and valid.
  • Access issues: If the user cannot connect after creation, check the Access Ip Mask and External Access settings to ensure they allow connections from the intended sources.
  • API errors: Review error messages returned by the mittwald API for hints on misconfiguration or quota limits.

Links and References

Discussion