Perfect-MySQL
Perfect-MySQL copied to clipboard
A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers.
I have a project that uses PerfectHttpServer and PerfectMySQL (added using SwiftPackageManager). Everything works fine when I run the app in Xcode, however when I generate an archive and export...
add '.package(url:"https://github.com/PerfectlySoft/Perfect-MySQL.git", from: "3.0.0")' in Package, get warning: dependency 'PerfectMySQL' is not used by any target. in PerfectTemplate project has no target named MySQL or PerfectMySQL.
Path:/usr/local/lib/pkgconfig/mysqlclient.pc "mysqlclient.pc" not found do "swift build",then this is log: ``` /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-mysqlclient.git-5333716826204139417/module.modulemap:2:12: error: header '/usr/local/include/mysql/mysql.h' not found header "/usr/local/include/mysql/mysql.h" ^ /Users/wangzz/Desktop/MyAwesomeProject/.build/checkouts/Perfect-MySQL.git-4976130768219902098/Sources/PerfectMySQL/MySQL.swift:13:8: error: could not build Objective-C module 'mysqlclient' import mysqlclient...
Added missing autocommit call to MySQL wrapper. Without this you can't start transactions which can be rolled back, which I think it is important for integrity of the database especially...
Hello, I have a scenario where the same client makes several api calls asynchronously. In each call, i ping the database if the existing connection continues, if not, try to...
Hello, I have a crash when I try to make a test for high load. I call `ab -c 50 -n 10000 -f TLS1.2 -H "Accept-Encoding: gzip,deflate" http://127.0.0.1:8181/activities` in a...
Hello, Should I call Connect/Close for every query/transaction I do? Or it is better to create a 1 time connection and use it?
The current version doesn't support sending a long JSON (> 2 million chars), truncating the string that represents the JSON and causing an error on the server, because the data...
import PerfectMySQL 出现Missing required module 'mysqlclient' 本地用homebrew安装过mysql,请问这是为什么