mirror of
https://github.com/MariaDB/server.git
synced 2025-07-07 06:01:31 +03:00
There are 2 different share directories, one if builddir/share (with compiled errmsg.sys) and another one is $sourcedir/share and contains some /charsets/*.xml files. second one should be refered to as MYSQL_CHARSETSDIR and MYSQL_SHAREDIR $builddir/share
22 lines
927 B
Plaintext
22 lines
927 B
Plaintext
select @@global.character_sets_dir;
|
|
@@global.character_sets_dir
|
|
MYSQL_CHARSETSDIR/
|
|
select @@session.character_sets_dir;
|
|
ERROR HY000: Variable 'character_sets_dir' is a GLOBAL variable
|
|
show global variables like 'character_sets_dir';
|
|
Variable_name Value
|
|
character_sets_dir MYSQL_CHARSETSDIR/
|
|
show session variables like 'character_sets_dir';
|
|
Variable_name Value
|
|
character_sets_dir MYSQL_CHARSETSDIR/
|
|
select * from information_schema.global_variables where variable_name='character_sets_dir';
|
|
VARIABLE_NAME VARIABLE_VALUE
|
|
CHARACTER_SETS_DIR MYSQL_CHARSETSDIR/
|
|
select * from information_schema.session_variables where variable_name='character_sets_dir';
|
|
VARIABLE_NAME VARIABLE_VALUE
|
|
CHARACTER_SETS_DIR MYSQL_CHARSETSDIR/
|
|
set global character_sets_dir="foo";
|
|
ERROR HY000: Variable 'character_sets_dir' is a read only variable
|
|
set session character_sets_dir="foo";
|
|
ERROR HY000: Variable 'character_sets_dir' is a read only variable
|