[MDEV-13381] Connect External ODBC Table Not Working Created: 2017-07-26 Updated: 2017-11-03 Resolved: 2017-10-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Affects Version/s: | 10.1.25 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Simon Tulett | Assignee: | Olivier Bertrand |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Red Hat Enterprise Linux Server release 6.8 (Santiago) 64bit |
||
| Description |
|
Using YUM I downloaded and installed the connect engine for MariaDB 10.1.25, unixODBC and unixODBC-devel. I have been able to successfully setup my
and
and after setting up the LD_LIBRARY_PATH am able to successfully connect to and query an Oracle data source using
. The problem comes when I try to issue the create table statement, at that point, I get a message stating that the file libsqora.12.1 can not be found. So I read through some posts and the MariaDB page And realized the problem may have been because I was either using SELinux or that the user running MySQL didn't have the necessary permissions. I confirmed that SELinux is disabled and identified that the root user is running MySQL, so I updated the root user to have the same LD_LIBARAY_PATH in .bash_profile and then logged in as root using sudo su - root and successfully ran the isql command. From here I then restarted the MySQL service and attempted to run the CREATE TABLE statement again as below.
But I still get the same error which is that libsqora.12.1 cannot be found. I'm struggling to know what to try next or what logs to check to try and find more information on the problem. In addition, I have run
out of desperation on the folder containing libsqora.12.1 but that hasn't made any difference either. Hope you can help. |
| Comments |
| Comment by Simon Tulett [ 2017-07-26 ] |
|
Managed to resolve this by placing the path to libsqora.12.1 in ldconfig |
| Comment by Elena Stepanova [ 2017-07-31 ] |
|
bertrandop, |
| Comment by Olivier Bertrand [ 2017-08-01 ] |
|
I think this should be commented by users in the documentation page: |
| Comment by DUC MANH NGUYEN [ 2017-11-03 ] |
|
Dear all |