You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let mysql = try MySQL.Database(
host: "127.0.0.1",
user: "root",
password: "secret",
database: "ironman-old"
)
let result = try mysql.execute("SELECT * FROM checklist_items")
Running this from a command over and over will throw this error now and then
#12 0x0000000100bfc10c in Connection.deinit at /Users/casper_r/vapor/ironman/Packages/MySQL-0.5.0/Sources/MySQL/Connection.swift:44
#13 0x0000000100bfc0d1 in Connection.__deallocating_deinit ()
#14 0x0000000100bff82d in Database.execute(String, [NodeRepresentable], Connection?) throws -> [[String : Node]] at /Users/casper_r/vapor/ironman/Packages/MySQL-0.5.0/Sources/MySQL/Database.swift:205
#15 0x0000000100004b61 in CheckListItemsSeeder.run(arguments : [String]) throws -> () at /Users/casper_r/vapor/ironman/App/Commands/CheckListItemsSeeder.swift:28
#16 0x000000010000504b in protocol witness for Command.run(arguments : [String]) throws -> () in conformance CheckListItemsSeeder ()
#17 0x000000010071a385 in ConsoleProtocol.run(Group, arguments : [String]) throws -> () at /Users/casper_r/vapor/ironman/Packages/Console-0.6.2/Sources/Console/Console/Console+Run.swift:79
#18 0x000000010071aaee in ConsoleProtocol.run(executable : String, commands : [Runnable], arguments : [String], help : [String]) throws -> () at /Users/casper_r/vapor/ironman/Packages/Console-0.6.2/Sources/Console/Console/Console+Run.swift:94
#19 0x0000000100ac2d39 in Droplet.runCommands() throws -> () at /Users/casper_r/vapor/ironman/Packages/Vapor-0.17.1/Sources/Vapor/Droplet/Droplet+Serve.swift:61
#20 0x0000000100ac1d15 in Droplet.serve(() throws -> ()?) -> Never at /Users/casper_r/vapor/ironman/Packages/Vapor-0.17.1/Sources/Vapor/Droplet/Droplet+Serve.swift:14
#21 0x000000010000418f in main at /Users/casper_r/vapor/ironman/App/main.swift:71
The text was updated successfully, but these errors were encountered:
Running this from a command over and over will throw this error now and then
The text was updated successfully, but these errors were encountered: