[MDEV-9869] INSTALL SONAME 'ha_connect' Created: 2016-04-04 Updated: 2021-08-14 Resolved: 2016-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform RedHat |
| Affects Version/s: | 10.1.12, 10.1 |
| Fix Version/s: | 10.0.25, 10.1.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Diego Hellas | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7 |
||
| Description |
|
I'm trying to install the plugin engine connect, but is not working.
|
| Comments |
| Comment by Elena Stepanova [ 2016-04-04 ] | ||||||||
|
You environment says you're using connect engine 10.1.13 with the server 10.1.12, how did it happen? It isn't really supposed to work like that. | ||||||||
| Comment by Diego Hellas [ 2016-04-04 ] | ||||||||
|
I just did the repository installation. | ||||||||
| Comment by Diego Hellas [ 2016-04-04 ] | ||||||||
|
/etc/yum.repos.d/mariadb10.repo | ||||||||
| Comment by Elena Stepanova [ 2016-04-04 ] | ||||||||
|
Right. Please upgrade the server as well. serg, if our plugins require the identical version of the server, do you think maybe storage engine RPMs should pull the server as a dependency? | ||||||||
| Comment by Diego Hellas [ 2016-04-04 ] | ||||||||
|
Elena, I can install a compatible version with 10.0.12? Thanks | ||||||||
| Comment by Elena Stepanova [ 2016-04-04 ] | ||||||||
|
Yes, you can use 10.1.12 repo instead of the latest 10.1 | ||||||||
| Comment by Sergei Golubchik [ 2016-04-04 ] | ||||||||
|
elenst, depends on the plugin. But storage engines — yes, they should, absolutely. | ||||||||
| Comment by Diego Hellas [ 2016-04-04 ] | ||||||||
|
Thanks everyone, | ||||||||
| Comment by Karl Klepper [ 2021-07-27 ] | ||||||||
|
I use docker mariadb:latest root@master:/# apt-get update ended with Setting up mariadb-server-10.5 (1:10.5.11+maria~focal) ... root@master:/# ls -l /usr/lib/mysql/plugin/ha* M:285017 [ci4]>INSTALL SONAME 'ha_connect'; restart of server of no avail what to do? | ||||||||
| Comment by Karl Klepper [ 2021-07-27 ] | ||||||||
|
I see, restart lost /usr/lib/mysql/plugin/ha_connect.so, of course, so this is not the way. Why didn't it work in the first place? I could then make a new container to have it permanently. | ||||||||
| Comment by Karl Klepper [ 2021-07-27 ] | ||||||||
|
I thought the problem might have been that the client was started earlier in a separate process, but this is obviously nonsense and can be proven easily wrong: ... Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. M:285017 [(none)]>INSTALL SONAME 'ha_connect'; | ||||||||
| Comment by Karl Klepper [ 2021-07-27 ] | ||||||||
|
on https://mariadb.com/kb/en/installing-the-connect-storage-engine/ I read: If you do not have the ODBC library installed, then you may get an error about a missing library when you attempt to install the plugin. So ... root@master:/# apt-get update root@master:/# apt-get install unixODBC | ||||||||
| Comment by Karl Klepper [ 2021-07-27 ] | ||||||||
|
Ok, better read all: root@master:/# apt-get install libodbc1 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. M:285017 [(none)]>INSTALL SONAME 'ha_connect'; | ||||||||
| Comment by Sergei Golubchik [ 2021-08-06 ] | ||||||||
|
run select * from information_schema.all_plugins. Likely your ha_connect.so isn't compatible with the server | ||||||||
| Comment by Karl Klepper [ 2021-08-07 ] | ||||||||
|
OK, that explains it:
How come? I use the official docker container. How to install then?
| ||||||||
| Comment by Sergei Golubchik [ 2021-08-14 ] | ||||||||
|
If I read the Dockerfile correctly, it only installs mariadb-server and mariadb-backup. You need to install mariadb-plugin-connect. | ||||||||
| Comment by Karl Klepper [ 2021-08-14 ] | ||||||||
|
Oh thank you very much and I'm sorry for bothering you! Case closed. | ||||||||
| Comment by Karl Klepper [ 2021-08-14 ] | ||||||||
|
Oh thank you very much and I'm sorry for bothering you! Case closed. |