Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

I want to pass the command for update the max_connections for mysql

I want to increase the size of the max connection pool in MySQL as it has 151 defaults.

while running the integration test cases I need more than that default connection. I have passed the command but seems like it's not working.

1 answer

0 votes

Hi @pinals and welcome to the community.

Since you created this question in the Bitbucket Pipelines collection, I assume that you're using a mysql service in Pipelines?

I'm afraid that at the moment it is not possible to pass a command to a Docker service container to modify max_connections.

We have a feature request about this in our issue tracker:

If you'd be interested in this, I would suggest that you add your vote in that request (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

In the meantime, a way to work around this issue would be to create a custom Docker image (based on the official mysql image) that sets your own CMD value, or supports environment variables for settings like these.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,461 views 3 10
Read article

Atlassian Community Events