Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
There is an error occuried while installing the socket_peercred plugin:
MariaDB [(none)]> select version();
-----------------------------------------
version() |
-----------------------------------------
5.3.2-MariaDB-beta-mariadb102~natty-log |
-----------------------------------------
MariaDB [(none)]> INSTALL PLUGIN socket_peercred SONAME 'auth_socket.so';
Query OK, 0 rows affected, 1 warning (0.00 sec)
MariaDB [(none)]> show warnings;
----------------------------------------------------------------------------
Level | Code | Message |
----------------------------------------------------------------------------
Warning | 1123 | Can't initialize function 'socket_peercred'; Plugin is disabled |
----------------------------------------------------------------------------
Is this the same bug described on mysql.com? http://bugs.mysql.com/bug.php?id=59017
Re: Failure while installing the 'socket_peercred' plugin
Reproducible on MariaDB 5.2 and 5.3 (fixed in 5.5 as described in http://bugs.mysql.com/bug.php?id=59017).
To reproduce it, start the server with --socket command-line or config option.
MTR test is a one-liner:
INSTALL PLUGIN socket_peercred SONAME 'auth_socket.so';
It fails on 5.2 and 5.3 due to the warning; fails on 5.5 too, but only because the plugin was renamed there.