Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

pinals I'm New Here Oct 05, 2021

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

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

182 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you