mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
13 lines
447 B
Text
13 lines
447 B
Text
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';
|