doc-exports/docs/fg/umn/functiongraph_03_0130.html
Chen, Junjie dac566cf2f FG UMN 20230725 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-04-03 10:30:56 +00:00

2.7 KiB

How Does a Function Access the MySQL Database?

Perform the following operations:

  1. Check whether the MySQL database is deployed in a VPC.
  2. Search for MySQL templates and select the one with the desired runtime, as shown in Figure 1. Set the parameters as required and click Create Function.
    Figure 1 Selecting a function template
  3. After the MySQL function is created, choose Configuration > Environment Variables, enable encryption as required (see Figure 2), and click Save.
    Figure 2 Enabling encryption

    If the function needs to access RDS APIs, create an agency and grant required permissions.