Coder Social home page Coder Social logo

mysql-connector-c's Introduction

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.

mysql-connector-c's People

Contributors

ketzusaka avatar readmecritic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysql-connector-c's Issues

use cocoa pod to the project

i use cocoa pod to project ,the i found whatever i do ,there had a problem named 'mysql/client_plugin.h' file not found', so can u answer me why do the Xcode can not find the header file, ps:the search path is right(u can make a demo use cocoa pod then u will find the problem );

how to user variable

i write insert into on ios app but it dosen't work ,please help me thanks..
NSString *aa = @"mm";
NSString *SQL = @"insert into userInfomation(username,usermsg) values(@mm,'fff')";

libmysqlclient needs to be updated

Hi, thank you for your great library!

But this library is unable to connect to MySQL server 8.0+ with the default config, because MySQL server 8.0+ use cache_sha2_password as the default authentication plugin, which is not supported by current version.

Please update libmysqlclient to 8.0+

Specify Remote Database Doesn't Work

When using the mysql_real_connect function, if I specify a different host, the error log always says that it has attempted to connect to localhost. This is not normal is it?

Cannot Archive iOS app using this

Bitcode bundle could not be generated because 'libmysqlclient.a(libmysql.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.