MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Where to find the source code (to rebuild) mysql connector C++
Posted by: Gerhard Smith
Date: January 25, 2012 01:46PM

As a matter of interest:
When you get the warning, during linking, that might conflict with (e.g. where x=5 and y=6) then the binary will compile and link, but it will most likely fail to run; I got 'invalid pointer' errors at run time.

The only solution is to build your own C client AND so all the components use the same C++ libraries.

To get the C client:
To obtain the source code, you must have Bazaar installed.
Use the command 'bzr branch lp:libmysql' . This command 'dowloads' about 600MB so be patient - I almost killed it, thinking it was looping.

To get the mysqlcppconn source: This is quite quick.
bzr branch lp:~mysql/mysql-connector-cpp/trunk

You ow have all the source you need,
so just follow the instruction sheets.

Options: ReplyQuote

Written By
Re: Where to find the source code (to rebuild) mysql connector C++
January 25, 2012 01:46PM
January 25, 2012 01:52PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.