From 5616bd55973cd1c4f4005e7033e7adff7397214d Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 13 Mar 2014 16:35:14 +0100 Subject: unix_socket bypasses make_if_fail by not doing any network reads --- mysql-test/r/failed_auth_unixsocket.result | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mysql-test/r/failed_auth_unixsocket.result (limited to 'mysql-test/r/failed_auth_unixsocket.result') diff --git a/mysql-test/r/failed_auth_unixsocket.result b/mysql-test/r/failed_auth_unixsocket.result new file mode 100644 index 00000000000..7e2499795cb --- /dev/null +++ b/mysql-test/r/failed_auth_unixsocket.result @@ -0,0 +1,12 @@ +update mysql.user set plugin='unix_socket'; +flush privileges; +connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); +ERROR HY000: Plugin 'unix_socket' is not loaded +ERROR HY000: Plugin 'unix_socket' is not loaded +install plugin unix_socket soname 'auth_socket.so'; +connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); +ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO) +ERROR 28000: Access denied for user 'USER'@'localhost' (using password: NO) +update mysql.user set plugin=''; +flush privileges; +uninstall plugin unix_socket; -- cgit v1.2.1