I've not used FMDB with Swift, but I expect it's b cause you're using string interpolation. Try this:
let success = db.executeUpdate("insert into users (username, password, email) values (?, ?, ?)", randomUsernames[i], randomPasswords[i], randomEmails[i])
Sent from my iPhone