[MXS-2308] Change default for connector_plugindir Created: 2019-01-30 Updated: 2020-08-25 Resolved: 2019-01-31 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core, Packaging |
| Affects Version/s: | 2.3.3 |
| Fix Version/s: | 2.3.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The default value for connector_plugindir is /var/lib/plugin. I think that the default should be changed to the location where the MariaDB-common package installs authentication plugins on the specific OS. On RHEL/CentOS, that's /usr/lib64/mysql/plugin/:
Otherwise, users can see errors like |
| Comments |
| Comment by markus makela [ 2019-01-31 ] | |||||||||||||||||||||||||||
|
If you could provide Debian versions of the paths, that would greatly speed this up. | |||||||||||||||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-01-31 ] | |||||||||||||||||||||||||||
|
It appears to be /usr/lib/mysql/plugin on Debian Jessie, and dialog.so is in the libmariadb3 package.
| |||||||||||||||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-01-31 ] | |||||||||||||||||||||||||||
|
By the way, you can also get the plugindir on a specific system by executing mysql_config, like this:
mysql_config is in libmariadb3-dev on Debian. It's probably in MariaDB-devel on RHEL-based systems. |