PromucFlow_constructor/app/server/appsmith-plugins/mysqlPlugin
devin-ai-integration[bot] ed01cc8a6f
feat: add configurable connection pool support for MySQL plugin (#39148)
## Description
With current implementation, MySQL is configured with HikariCP to have
maximum pool size of 20. This PR makes the connection pool size
configurable from admin settings for MySQL as well, similar to MSSQL
implementation.

This PR adds:
- ConnectionPoolConfig injection in MySqlPluginExecutor
- Support for configurable pool size in datasourceCreate
- Default fallback to 20 connections if not configured
- Test coverage with MockConnectionPoolConfig

Fixes #22525

Link to Devin run:
https://app.devin.ai/sessions/aa7f7e398dae4d24b9bbbac7dc3615b1
Requested by: Sneha

## Automation

/ok-to-test tags="@tag.Datasource"

### 🔍 Cypress test results
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.



<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13695631768>
> Commit: 8f5d7e0eecfc3465bc7617546cec5c743fad2414
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13695631768&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource`
> Spec:
> <hr>Thu, 06 Mar 2025 11:41:54 UTC
<!-- end of auto-generated comment: Cypress test results  -->

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Sneha Bodke <sneha@appsmith.com>
Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-03-06 17:33:00 +05:30
..
src feat: add configurable connection pool support for MySQL plugin (#39148) 2025-03-06 17:33:00 +05:30
pom.xml chore: Updating mysql test dependencies in pom.xml (#39146) 2025-02-12 16:04:10 +05:30