mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
22 lines
834 B
Text
22 lines
834 B
Text
|
select @@global.pid_file;
|
||
|
@@global.pid_file
|
||
|
MYSQLTEST_VARDIR/run/mysqld.1.pid
|
||
|
select @@session.pid_file;
|
||
|
ERROR HY000: Variable 'pid_file' is a GLOBAL variable
|
||
|
show global variables like 'pid_file';
|
||
|
Variable_name Value
|
||
|
pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
|
||
|
show session variables like 'pid_file';
|
||
|
Variable_name Value
|
||
|
pid_file MYSQLTEST_VARDIR/run/mysqld.1.pid
|
||
|
select * from information_schema.global_variables where variable_name='pid_file';
|
||
|
VARIABLE_NAME VARIABLE_VALUE
|
||
|
PID_FILE MYSQLTEST_VARDIR/run/mysqld.1.pid
|
||
|
select * from information_schema.session_variables where variable_name='pid_file';
|
||
|
VARIABLE_NAME VARIABLE_VALUE
|
||
|
PID_FILE MYSQLTEST_VARDIR/run/mysqld.1.pid
|
||
|
set global pid_file=1;
|
||
|
ERROR HY000: Variable 'pid_file' is a read only variable
|
||
|
set session pid_file=1;
|
||
|
ERROR HY000: Variable 'pid_file' is a read only variable
|