Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try harder to link unix_socket plugin statically
fix unix_socket tests to work if unix_socket is a built-in
- Loading branch information
Showing
12 changed files
with
14 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
--plugin-load-add=$AUTH_SOCKET_SO --loose-enable-unix-socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,13 +1,7 @@ | |||
update mysql.global_priv set priv=json_insert(priv, '$.plugin', 'unix_socket'); | update mysql.global_priv set priv=json_insert(priv, '$.plugin', 'unix_socket'); | ||
flush privileges; | flush privileges; | ||
connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); | 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'; | |||
flush privileges; | |||
connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET); | |||
ERROR 28000: Access denied for user 'USER'@'localhost' | ERROR 28000: Access denied for user 'USER'@'localhost' | ||
ERROR 28000: Access denied for user 'USER'@'localhost' | ERROR 28000: Access denied for user 'USER'@'localhost' | ||
update mysql.global_priv set priv=json_compact(json_remove(priv, '$.plugin')); | update mysql.global_priv set priv=json_compact(json_remove(priv, '$.plugin')); | ||
flush privileges; | flush privileges; | ||
uninstall plugin unix_socket; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@vuvova If no
auth_pam.so
compiled the script fails.