Kitura / Kitura/SwiftKueryMySQL
allow to select db after connect
Open
@adam-rocska is already working on this.
Since May 19, 2026.
- Dominant language
- Swift
- Stars
- 34
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I need to list the available databases and choose the database in a second step.
I tried to do a USE mydb; but it does not work, I think you should use this method mysql_select_db to achieve it, you can confirmed?
The operation couldn’t be completed. (SwiftKuery.QueryError error 2.)
self.client.execute("USE `\(database)`;") { (queryResult) in
print(queryResult)
}
see: https://dev.mysql.com/doc/refman/8.0/en/mysql-select-db.html
Thx
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.