ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable and should be set with SET GLOBAL
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@key_buffer_size = @min_key_buffer_size;
SELECT @@global.key_buffer_size >= 8 AND @@global.key_buffer_size <= 36;
@@key_buffer_size = @min_key_buffer_size
@@global.key_buffer_size >= 8 AND @@global.key_buffer_size <= 36
1
1
SET local.key_buffer_size = 10;
SET local.key_buffer_size = 10;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key_buffer_size = 10' at line 1
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key_buffer_size = 10' at line 1
...
@@ -106,6 +100,3 @@ ERROR 42S02: Unknown table 'global' in field list
...
@@ -106,6 +100,3 @@ ERROR 42S02: Unknown table 'global' in field list
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable and should be set with SET GLOBAL
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@key_buffer_size = @min_key_buffer_size;
SELECT @@global.key_buffer_size >= 8 AND @@global.key_buffer_size <= 36;
@@key_buffer_size = @min_key_buffer_size
@@global.key_buffer_size >= 8 AND @@global.key_buffer_size <= 36
1
1
SET local.key_buffer_size = 10;
SET local.key_buffer_size = 10;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key_buffer_size = 10' at line 1
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key_buffer_size = 10' at line 1
...
@@ -106,6 +100,3 @@ ERROR 42S02: Unknown table 'global' in field list
...
@@ -106,6 +100,3 @@ ERROR 42S02: Unknown table 'global' in field list