summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/auth_named_pipe.result
blob: fb190ccd149a6ed9a4d4e46daa130d3630ce2b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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';