J'ai un problème avecComment faire pour augmenter la valeur de max_connections pour MySQL sur Windows Server?
SQLSTATE[08004] [1040] Too many connections
sur un ordinateur Windows Server 2008 R2. Maintenant, j'essaye d'augmenter le max_connections
(la valeur par défaut est 151
). Dans le dossier racine MySQL 5.6
D:\...\MySQL5.6
J'ai trouvé un fichier my-default.ini
et ajouté
max_connections = 200
sous [mysqld]
. Ensuite, je remis en marche le service:
Mais rien n'a changé:
SHOW VARIABLES LIKE "max_connections";
+-----------------+-------+
¦ Variable_name ¦ Value ¦
+-----------------+-------+
¦ max_connections ¦ 151 ¦
+-----------------+-------+
Je rebaptisés le my-default.ini
-my.ini
et remis en marche à nouveau le serveur MySQL. Aucun effet.
Comment configurer MySQL max_connections
de façon permanente sur Windows Server?