Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doing SYSVAR_AUTOSIZE() because of back_log > max_connections enabled "autosized" flag, and that made IS_SYSVAR_AUTOSIZE() true, which triggered the second SYSVAR_AUTOSIZE. Remove back_log <= max_connections limit, back_log doesn't *always* have to be smaller than max_connections.
- Loading branch information
Showing
4 changed files
with
2 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,3 @@ | ||
select @@global.back_log; | ||
@@global.back_log | ||
80 | ||
select @@session.back_log; | ||
ERROR HY000: Variable 'back_log' is a GLOBAL variable | ||
show global variables like 'back_log'; | ||
Variable_name Value | ||
back_log 80 | ||
show session variables like 'back_log'; | ||
Variable_name Value | ||
back_log 80 | ||
select * from information_schema.global_variables where variable_name='back_log'; | ||
VARIABLE_NAME VARIABLE_VALUE | ||
BACK_LOG 80 | ||
select * from information_schema.session_variables where variable_name='back_log'; | ||
VARIABLE_NAME VARIABLE_VALUE | ||
BACK_LOG 80 | ||
set global back_log=1; | ||
ERROR HY000: Variable 'back_log' is a read only variable | ||
set session back_log=1; | ||
ERROR HY000: Variable 'back_log' is a read only variable | ||
1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--back-log=1000 --max-connections=300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters