MySQL
What is MySQL?
MySQL is an open-source relational database management system. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter My, and "SQL", the acronym for Structured Query Language.
What is AppiWorks integration with MySQL?
AppiWorks is an application integration and automation platform. It can create a connection to MySQL in the AppiWorks platform and use it in any sub-products such as Blooms, Forms, Flows, and client platforms such as AppiWorks for Zoho CRM, AppiWorks for Google Forms, AppiWorks Looker Studio Connector, etc.
Setup and Configuration
Before setting up the MySQL connection in the AppiWorks platform, one must configure the MySQL in any of the cloud providers such as GCP, AWS, etc. (can be any other providers), you can visit the following links for your reference
GCP - https://cloud.google.com/sql/docs/mysql/create-manage-databases
AWS - https://aws.amazon.com/getting-started/hands-on/create-mysql-db/
***IMPORTANT NOTE***
The following IP range should be whitelisted in your cloud/ on-premise MySQL database so that AppiWorks Infrastructure can connect with it.
35.238.134.134
How to do a whitelist?
Method 1: Using MySQL Users and Hosts
Access MySQL Console:
Open a terminal and log in to the MySQL console using:
mysql -u username -p
Enter your MySQL password when prompted.
Create or Modify User:
Create a new user:
CREATE USER 'new_username'@'whitelisted_IP' IDENTIFIED BY 'password';
Modify an existing user:
GRANT ALL PRIVILEGES ON database_name.* TO 'existing_username'@'whitelisted_IP';
Apply Permissions:
FLUSH PRIVILEGES;
Method 2: Using Firewall Rules (if available)
Access Control Panel:
Login to your hosting provider's control panel (e.g., cPanel, Plesk, SiteWorx).
Find Firewall Settings:
Locate the section for firewall or security settings.
Look for options to whitelist IP addresses for MySQL.
Add Whitelist Entries:
Enter the specific IP addresses you want to allow access to MySQL.
Save the changes.
How to establish a connection?
Search for MySQL in the AppiWorks platform (as shown on the right side)
Click on the MySQL
Provide all the credentials and click on Connect to create the new connection.
Note: You can find the credentials while setting up the configuration in cloud providers (check the Setup & Configurations section above)