This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Client library usage example

Hi,

Is there a page in the knowledge base showing a basic example of the client library usage ? I'm quite a newbie on this topic. I just downloaded and un-tgzed the archive, then executed the commands 'cmake .' and 'make'. I created a simple C code to use it, but my #include <mysql.h> line understandably fails because it can't access it, I guess there is some linking to do.

Thanks in advance, Bruno

Answer Answered by Ian Gilfillan in this comment.

There's not much documentation here yet - try the MySQL Connector/C documentation at http://dev.mysql.com/doc/refman/5.5/en/connector-c-info.html

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.