{"id":20982095,"url":"https://github.com/dsward2/swiftmysql","last_synced_at":"2025-05-14T16:31:13.177Z","repository":{"id":89153070,"uuid":"46814717","full_name":"dsward2/SwiftMySQL","owner":"dsward2","description":"A Swift language project for Mac OS X (and soon Linux) to connect to a MySQL server","archived":false,"fork":false,"pushed_at":"2015-12-01T06:23:54.000Z","size":16,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:38:30.291Z","etag":null,"topics":["arkansas","mysql","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dsward2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-24T19:48:57.000Z","updated_at":"2025-01-05T05:33:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"714ef639-fde1-4362-9ec4-b71b1ab192b6","html_url":"https://github.com/dsward2/SwiftMySQL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsward2%2FSwiftMySQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsward2%2FSwiftMySQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsward2%2FSwiftMySQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsward2%2FSwiftMySQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsward2","download_url":"https://codeload.github.com/dsward2/SwiftMySQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254182837,"owners_count":22028367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arkansas","mysql","swift"],"created_at":"2024-11-19T05:44:22.927Z","updated_at":"2025-05-14T16:31:12.929Z","avatar_url":"https://github.com/dsward2.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftMySQL notes -\n\nThis project demonstrates the usage of Apple's new Swift language with the MySQL database server.  Currently, this project runs on a Mac, but hopefully it can be ported to Linux after Apple publishes the open-source version of Swift by the end of 2015.\n\n\n\nBefore building this project, please note these dependencies -\n\n\n\nThis code assumes MAMP.app is installed on Mac OS X and the MySQL server running.\n\nMAMP.app is available here - http://www.mamp.info\n\nor, change the connection values in the Swift code to match your MySQL configuration.\n\n\n\nAlso, it assumes that the MySQL API interfaces and libraries for OS X are installed at -\n\n/usr/local/mysql/include\n\nand\n\n/usr/local/mysql/lib\n\nThe MySQL Connector/C (libmysqlclient) is available here -\n\nhttp://dev.mysql.com/downloads/connector/c/\n\nAfter installation, either rename the folder to match the /usr/local/mysql path, or create an alias at that location to point to the correct folder.\n\n\n\nFinally, the MySQL APIs are imported into Swift as a module, where the header files are stored at /usr/local/mysql/include/mysql.h\n\nIf your MySQL headers are located elsewhere, edit the module.map file accordingly.\n\n\nThe reference manual for the MySQL C API is here -\n\n[https://dev.mysql.com/doc/refman/5.7/en/c-api.html](https://dev.mysql.com/doc/refman/5.7/en/c-api.html)\n\n\nFor multi-threaded usage, see this page of the MySQL documentation -\n\n[https://dev.mysql.com/doc/refman/5.7/en/c-api-threaded-clients.html](https://dev.mysql.com/doc/refman/5.7/en/c-api-threaded-clients.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsward2%2Fswiftmysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsward2%2Fswiftmysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsward2%2Fswiftmysql/lists"}