Problems using MySQL instead of MySQLi

I have a blog that is on Drupal v6.14. I recently changed my web hosting provider. My new hosting provider does not support MySQLi. Therefore, I have to use MySQL instead of MySQLi. For several days everything worked fine. But on a very beautiful morning, I found that my blog was not working, and the error message was Mysql: too many connections to the server . And this problem occurs several times a day.
I contacted my web hosting provider, they said, the problem is in your database. I do not believe this. My blog worked fine on an old web server. This may be a problem because I switched to MySQL from MYSQLi.

+3
source share
1 answer

Check this entry from the MySQL documentation for the error "Too many connections . " The number of allowed connections is the server setting mysqld. Depending on your hosting plan, you can configure this option yourself, but for small plans this needs to be done by the provider. In addition, if you use shared hosting, the mysqld server can serve several databases well, besides your own.

There is no direct connection to using MySQLi against the MySQL driver.

, MySQL mysqld, . .

+1

Source: https://habr.com/ru/post/1736863/


All Articles