Openblocks x MySQL

Openblocks x MySQL

Openblocks · 2 minute read
  1. Connect to MySQL in Openblocks
  2. Using MySQL in Openblocks
  3. CRUD operations
  4. Access data
  5. About Openblocks

MySQL is a popular open-source relational database management system (RDBMS) that uses Structured Query Language (SQL) for querying and managing data stored in a database. Known for scalability, flexibility, and speed, MySQL is a widely adopted choice for web applications, content management systems, and e-commerce websites.

Designed to be fast, efficient, and scalable, MySQL is an excellent solution for both small-scale and large-scale applications. It offers a range of features and capabilities, including support for multiple storage engines, user-defined functions, and full-text indexing, among others. Besides, it is also highly customizable, and developers can extend its functionality using various plugins and add-ons.

MySQL is available under both open-source and commercial licenses. It is compatible with many operating systems, including Windows, Linux, macOS, and Unix, as well as several programming languages, such as PHP, Java, Python, and Ruby. Furthermore, it has a large and active community of developers and users to contribute ideas and efforts for its enhancement.

Connect to MySQL in Openblocks

Step 1: Create new data sources > Select MySQL, and fill in the fields.

Step 2: Create MySQL queries. Openblocks supports SQL mode and GUI mode. Select the one that suits you best.

Step 3: Finish your query, select a trigger method, and display the query result.

Using MySQL in Openblocks

CRUD operations

When connected to MySQL in Openblocks, you can perform create, read, update, and delete operations. In SQL mode, you can insert queries. If you are not familiar with SQL syntax, then you can use GUI mode for the following operations:

  • Insert

  • Insert, update if conflict

  • Update

  • Delete

  • Bulk Insert

  • Bulk Update

Access data

In both SQL and GUI modes, you can check the data structure in the data browser panel, and access query results via {{queryName.data}} anywhere in your app.

About Openblocks

Openblocks is an open-source low-code platform where you can find 50+ built-in components. It also offers excellent documentation to discuss technical details, present practical tutorials, and provide all the information you need know for building an app. On Openblocks, you can get connected to most databases and any API within clicks, design custom components, share apps with colleagues or customers, and more.

Start your first app now and feel free to reach the vibrant community on Discord if you encounter any issue or would like to share an idea!