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
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.