summaryrefslogtreecommitdiff
path: root/mysql-test/main/auth_named_pipe.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/auth_named_pipe.result')
-rw-r--r--mysql-test/main/auth_named_pipe.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/auth_named_pipe.result b/mysql-test/main/auth_named_pipe.result
new file mode 100644
index 00000000000..fb190ccd149
--- /dev/null
+++ b/mysql-test/main/auth_named_pipe.result
@@ -0,0 +1,13 @@
+INSTALL SONAME 'auth_named_pipe';
+CREATE USER 'USERNAME' IDENTIFIED WITH named_pipe;
+connect pipe_con,localhost,$USERNAME,,,,,PIPE;
+SELECT USER(),CURRENT_USER();
+USER() CURRENT_USER()
+USERNAME@localhost USERNAME@%
+disconnect pipe_con;
+connection default;
+DROP USER 'USERNAME';
+CREATE USER nosuchuser IDENTIFIED WITH named_pipe;
+ERROR 28000: Access denied for user 'nosuchuser'@'localhost'
+DROP USER nosuchuser;
+UNINSTALL SONAME 'auth_named_pipe';