1

Тема: User . already has more than 'max_user_connections' active connections

Появилась вот такая ошибка: «Unable to connect to MySQL and select database. MySQL reported: User rustam already has more than 'max_user_connections' active connections». В чём дело? Превышено количество подключений? Как это исправить?

2

Re: User . already has more than 'max_user_connections' active connections

Проверьте, что в config.php прописано

$p_connect = false;

Это единственная настройка в движке, запрещающая постоянные соединения. Она такая по умолчанию, обычно нет смысла включать постоянные соединения.

Может у вас есть другие скрипты, которые открывают большое число соединений к БД?

Я бы посоветовал обратиться в техническую поддержку хостинга.

Заодно можете проверить,что тип интерфейса БД - mysqli (хотя к числу соединений это не относится):

$db_type = 'mysqli';

3

Re: User . already has more than 'max_user_connections' active connections

Проблема оказалась со стороны хостинг-провайдера. Написал в службу поддержки и мне ответили:

I apologize for the issues which you were experiencing with your website. I have noticed that the MySQL queries limit has exceeded our limits. This is the reason, your website was taken offline. On our server the maximum query limit per user is 75,000/hr. Query limit is the maximum number of database actions performed in one hour by a specific user. A user can have multiple concurrent MySQL connections, in which case the sum of all database actions for all connections cannot exceed the given limit. The maximum number of concurrent MySQL connections per user is 10. The maximum number of database queries per user is 75000/hr.

Извините за беспокойство, Роман! Всех Вам благ! :-)