Title: Problems with SQL, Midi and documentation · Issue #191 · SkQuery/SkQuery · GitHub
Open Graph Title: Problems with SQL, Midi and documentation · Issue #191 · SkQuery/SkQuery
X Title: Problems with SQL, Midi and documentation · Issue #191 · SkQuery/SkQuery
Description: Describe the bug I couldn't find a wiki that would help me create a script that does a MySQL query, the existing ones don't have examples or the examples don't help at all. Unable to execute querys: java.sql.SQLException: Operation not a...
Open Graph Description: Describe the bug I couldn't find a wiki that would help me create a script that does a MySQL query, the existing ones don't have examples or the examples don't help at all. Unable to execute querys...
X Description: Describe the bug I couldn't find a wiki that would help me create a script that does a MySQL query, the existing ones don't have examples or the examples don't help at all. Unable to ex...
Opengraph URL: https://github.com/SkQuery/SkQuery/issues/191
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problems with SQL, Midi and documentation","articleBody":"**Describe the bug**\n\nI couldn't find a wiki that would help me create a script that does a MySQL query, the existing ones don't have examples or the examples don't help at all.\n\nUnable to execute querys:\njava.sql.SQLException: Operation not allowed after ResultSet closed\n[12:00:35 WARN]: at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121)\n[12:00:35 WARN]: at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)\n\nSkript:\nscript options:\n $ init com.mysql.jdbc.Driver\n $ db url jdbc:mysql://myhost/mydb\n $ db username root\n $ db password 1234\ncommand /testquery:\n trigger:\n set {_objects::*} to objects in column \"realname\" from result of query \"SELECT realname FROM authme limit 10\"\n broadcast {_objects::*}\n\n\nError trying to reproduce midi:\ncommand /midi:\n\ttrigger:\n\t\tplay midi from link \"https://redemine.com.br/sounds/mario.mid\" to event-player\nException:\nException in thread \"Java Sound Sequencer\" java.lang.NoClassDefFoundError: Could not initialize class com.w00tmast3r.skquery.util.note.Instrument\n[11:54:04 WARN]: at SkQuery-4.2.0.jar//com.w00tmast3r.skquery.util.note.NoteBlockReceiver.send(NoteBlockReceiver.java:39)\n[11:54:04 WARN]: at java.desktop/com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage(AbstractMidiDevice.java:627)\n\n\n**Information:**\n- Skript version: 2.10.0\n- SkQuery versin: 4.2.0\n- Server software: Paper\n- Server version: 1.21\n","author":{"url":"https://github.com/victorgluz","@type":"Person","name":"victorgluz"},"datePublished":"2025-01-22T15:12:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/191/SkQuery/issues/191"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:745e3b8d-2539-a59f-bfbf-1368cb12d022 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C3E:16AA3F:86623E:91CEA7:698FA62F |
| html-safe-nonce | 249b17fe5c7a7d3b51cd5770630ccb6a585b706bf8d0c13f50980e2801de7b13 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzNFOjE2QUEzRjo4NjYyM0U6OTFDRUE3OjY5OEZBNjJGIiwidmlzaXRvcl9pZCI6IjI1NTYyNDE5NzUxNjM0NjMyMTUiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 99e89cedb14f37a5b9dd05d34797f5493d57c77329da6a01cd0586dcefe03358 |
| hovercard-subject-tag | issue:2804653447 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SkQuery/SkQuery/191/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8fe189d55c798623dc936a46adcd434a3dc0ae206c467abef6e795e8c4f18aa3/SkQuery/SkQuery/issues/191 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8fe189d55c798623dc936a46adcd434a3dc0ae206c467abef6e795e8c4f18aa3/SkQuery/SkQuery/issues/191 |
| og:image:alt | Describe the bug I couldn't find a wiki that would help me create a script that does a MySQL query, the existing ones don't have examples or the examples don't help at all. Unable to execute querys... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | victorgluz |
| hostname | github.com |
| expected-hostname | github.com |
| None | ff0b5286b4f7cd2eb22d357a0ae8fb9a0ae1eaf6abfbae7410c3b315d16414e1 |
| turbo-cache-control | no-preview |
| go-import | github.com/SkQuery/SkQuery git https://github.com/SkQuery/SkQuery.git |
| octolytics-dimension-user_id | 48852184 |
| octolytics-dimension-user_login | SkQuery |
| octolytics-dimension-repository_id | 63517158 |
| octolytics-dimension-repository_nwo | SkQuery/SkQuery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 55411006 |
| octolytics-dimension-repository_parent_nwo | RealGatt/skquery |
| octolytics-dimension-repository_network_root_id | 21485706 |
| octolytics-dimension-repository_network_root_nwo | btk5h/skquery |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5268d66f533eb3b2e65a6a398a739f35827fd64a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width