config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/default_password_lifetime_basic.test

###############################################################################
#                                                                             #
# File containing basic tests for passsord lifetime variable                  #
#                                                                             #
###############################################################################

--echo # Default values
SELECT @@GLOBAL.default_password_lifetime;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT @@SESSION.default_password_lifetime;

SET @saved_value = @@global.default_password_lifetime;

--echo # Valid values
SET GLOBAL default_password_lifetime = 0;
SET GLOBAL default_password_lifetime = 1;
SET GLOBAL default_password_lifetime = 65535;
SET GLOBAL default_password_lifetime = 9999;

--echo # Invalid values: there shall be warnings about truncation
SET GLOBAL default_password_lifetime = -1;
SET GLOBAL default_password_lifetime = -1024;
SET GLOBAL default_password_lifetime = 65536;
SET GLOBAL default_password_lifetime = 99999;

SET GLOBAL default_password_lifetime = @saved_value;

Man Man