crystal-mysql icon indicating copy to clipboard operation
crystal-mysql copied to clipboard

MySQL connector for Crystal

Results 27 crystal-mysql issues
Sort by recently updated
recently updated
newest added

Ran into this little quirk today. i checked with gitter, and pretty sure it's a bug, not entirely sure though query: ``` items2 = db.query_all "select i_hp from rpg_user_items where...

Was reading over #12 but am not sure if it's related :P I have a bit(1) field in MYSQL called `hardcore`: ![](https://i.gyazo.com/e46f17990a776400490374362677462d.png) The query_all: `db.query_all "select hardcore from rpg_characters where...

When trying to read the JSON column type as a string, the following error is thrown: ``` Missing hash key: 245_u8 ``` Related issue: https://github.com/amberframework/granite/issues/193

how to connect to mysql via unix_socket?

Currently we are able to insert `Bytes` but when reading must specify `read(String)` not `read(Bytes)` as there will be an error otherwise. I believe it might be better to support...

how to call mysql store procedure and get results ?

This adds the cause for the exception as a message to this exception, making it more clear why this failed. This saves a lot of debugging time when you have...

According to doc, valid length values are 0, 4, 7, 11. https://dev.mysql.com/doc/internals/en/binary-protocol-value.html Sometimes DateTime type param is truncated to `''` by the following param. ``` (Before) 170310 4:15:46 1899 Connect...

Hello! First want to thank you for working on the native protocol. I've compared the new version of the adapter against the old libmysql one and had incredible speedup on...

I'm reading many rows from database table, but ALWAYS stop execution in this record. my crystal code: ``` require "mysql" require "yaml" config = YAML.parse File.read "config.yml" db = DB.open...