[CONC-313] Plugin tcp could not be loaded: lib/mariadb/plugin/tcp.so Created: 2018-02-21  Updated: 2018-04-23  Resolved: 2018-04-23

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.3
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Eric Curtin Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

Built and integrated mariadb-connector-c into application, get the above error. lib/mariadb/plugin/tcp.so is not included in the mariadb-connector-c tarball I compiled and packaged



 Comments   
Comment by Eric Curtin [ 2018-02-21 ]

This is how I built it, I got the steps from the wiki

https://github.com/ericcurtin/mariadb-connector-c/blob/master/scripts/build.sh

Comment by Eric Curtin [ 2018-02-21 ]

Maybe I'll try installing using these steps I guess:

https://mariadb.com/kb/en/library/plugin-overview/#installing-plugins

Comment by Georg Richter [ 2018-02-21 ]

what is tcp.so? A plugin written by yourself? Or do you specify tcp in hostname (like tcp://hostname) in mysql_real_connect ?

Comment by Eric Curtin [ 2018-02-21 ]

tcp.so is not a plugin that is written by myself, mariadb-connector-c is asking for it. I can tell you what is in mysql_real_connect in 14 hours. Don't have access to the machine with the code on it right now.

Comment by Eric Curtin [ 2018-02-22 ]

Yes, that's it @George Richter... mysql-connector-cpp used to handle uri parsing... I'm porting from this... Must parse the uri myself, thanks for your help!

Generated at Thu Feb 08 03:04:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.