Hi, I have some database issues 1. 'max_user_connections' active connections". 2. mysqli::__construct(): (HY000/2002): No such file or directory

Avatar
  • updated
  • Answered

I have problem understanding why I get the max-user-connection message. I am 100% sure that I close the connection. Everywhere I open the connection I close it. And as a failsafe If check in the destructor of my db-driver if the connection is still open and is so I close it there. And I don't get so many visitors on my site that they can cause this issue. I log all my database errors, so I know when something doesn't work. But I don't get other errors when I get the max-user-connection problem.

The second issue is this message "mysqli::__construct(): (HY000/2002): No such file or directory". It is rare that I get this, I never change the name of my databases. If it was changed I would get this message all the time. But it give me the feeling that the problem is  more on the server side or connection. 

Thanks,

Pinned replies
Avatar
anonymous
  • Answer
  • Answered

Hello Hansy, 

Thank you for your question regarding MySQL connections. Unfortunately, as this is a public forum, I am unable to provide account-specific information. I recommend contacting our Technical Support team for direct assistance with this issue:

https://www.inmotionhosting.com/support/amp/how-to-get-great-technical-support/

Best Regards, 

Alyssa K.

Avatar
anonymous
  • Answer
  • Answered

Hello Hansy, 

Thank you for your question regarding MySQL connections. Unfortunately, as this is a public forum, I am unable to provide account-specific information. I recommend contacting our Technical Support team for direct assistance with this issue:

https://www.inmotionhosting.com/support/amp/how-to-get-great-technical-support/

Best Regards, 

Alyssa K.