Troubleshooting / Publishing Scripts/Executing Functions When MySQL Encounters "ERROR 2026 (HY000)"
Due to Ubuntu 20.04's minimum SSL version requirement being v1.2, after upgrading older versions of DataFlux Func to version 1.5.5, the following exception may occur when publishing/running scripts:
| Text Only | |
|---|---|
1 | |
DataFlux Func version 1.5.5 and later have built-in automatic configuration modification handling. A normal upgrade should suffice.
If the issue persists, you can try the following manual fix:
- Open the
<installation-directory>/docker-stack.yamlfile (default location is/usr/local/dataflux-func/docker-stack.yaml) - In the yaml file, locate the
service/mysql/commandconfiguration and add the--tls-version=TLSv1.2parameter.
The reference modification is as follows:
| Text Only | |
|---|---|
1 2 3 4 5 | |