Database connection error – maximum number of concurrent MySQL connections is 10

This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Jack Richardson

  • Avatar: gloria
    gloria
    Participant
    May 20, 2016 at 05:08

    Hi There,

    I have big trouble about database connection error. this happens sometimes, especially when I try to edit my website to upload products images, for example.

    I contact the hosting provider and here is their answer.
    ************************************************
    Hello,

    I apologize for any inconvenience this may have caused you. On our platform, the maximum number of concurrent MySQL connections per user is 10. If you exceeds the limit. you cannot able to connect to the database. Too Many Connections can be caused by either a lot of simultaneous connections or by old connections not being released soon enough. There are some simple changes you can make to your PHP code and your MySQL settings to prevent both. You can search in Google and refer certain articles to learn about necessary changes that can be performed from your end.

    If you are using pconnect() function to connect database which will not close the connection once the script connects to the database. This will exceeded the concurrent MySQL connections on shared hosting. Please modify your script/application so that the connection is closed (just connect()) after it is established or after the query is run.

    Unfortunately, there are no options to increase the limits on shared servers. However, you can use our affordable VPS hosting and there are no such limits. To learn more about our VPS hosting, please refer https://www.ipage.com/advanced-hosting/vps.bml .
    **********************************************************

    Just wondering BLANCO use pconnect() function or coonect()?

    hosting provider says this is not their fault and my website doesn’t have much user.

    Please let me know what is going on.. and how I can solve this issue.

    Thanks,

    Gloria Hwang

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 20, 2016 at 11:10

    Hello,

    Our theme doesn’t use mysql_connect or pconnect() functions.
    You have to search for solutions on WordPress forums.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.