All Projects → ketzusaka → mysql-connector-c

ketzusaka / mysql-connector-c

Licence: MIT License
A MySQL library ready for use in iOS and Mac.

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
pascal
1382 projects

mysql-connector-c

This library is the MySQL client library (version 6.1.6), built for iOS and Mac. The original source code built pretty easily on Mac, but there were various small tweaks to get it running on iOS, so I'm sharing it! This library has i386, x86_64, armv7, and arm64 architectures built into it.

You can read all about the C api provided at the MySQL documentation site

Installation

mysql-connector-c can be installed using CocoaPods. Add the following declaration into your Podfile:

pod ‘mysql-connector-c’, ~> 2.0

You can also copy the files from the Sources directory into your project if you’re not using CocoaPods.

Sample Project

Under Project Files there is a sample project demonstrating the libraries use. Most of the details you'll want are on the MySQL documenation site, though.

The sample project simply lists the tables within a database. Update the #define statements at the top of ViewController.m to point to a database you have access to in order to see the results.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].