mariadb/mysql-test/r/shutdown.result
Sergey Vojtovich f8dd40eec6 MDEV-8491 - On shutdown, report the user and the host executed that.
Fixed main.shutdown failure on Windows.
2015-12-30 13:34:15 +04:00

11 lines
418 B
Text

create user user1@localhost;
shutdown;
ERROR 42000: Access denied; you need (at least one of) the SHUTDOWN privilege(s) for this operation
create procedure try_shutdown() shutdown;
drop procedure try_shutdown;
shutdown;
drop user user1@localhost;
#
# MDEV-8491 - On shutdown, report the user and the host executed that.
#
FOUND /mysqld(\.exe)? \(root\[root\] @ localhost \[(::1)?\]\): Normal shutdown/ in mysqld.1.err