Comments (7)
now only 17 fields exception ,why?>
from crystal-mysql.
End of file reached (IO::EOFError)
0x5f4eeb: *MySql::ReadPacket at /opt/crystal/src/io.cr 581:27
0x5562e1: *IO::ByteFormat::LittleEndian::decode<Int8:Class, MySql::ReadPacket>:Int8 at /opt/crystal/src/io/byte_format.cr 127:3
from crystal-mysql.
o ,i see
from crystal-mysql.
@lgphp if you can share a schema and some sample data that is causing you troubles we can assist. Otherwise we are in a blind spot.
From your last message I guess you fixed it. If so, feel happy to share what it was and close the issue.
from crystal-mysql.
Closing. Please reopen if the issue was not solved.
from crystal-mysql.
Unexpected EOF (Exception)
0x531cc7: *CallStack::unwind:Array(Pointer(Void)) at ??
0x65aa5c: read_byte! at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/read_packet.cr 40:18
0x65abde: read_int at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/read_packet.cr 65:5
0x6c42d2: read at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/packets.cr 13:7
0x6bafb9: read_packet at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/connection.cr 63:14
0x6bab01: initialize at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/connection.cr 22:19
0x6ba80f: new at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/connection.cr 4:3
0x6ba77d: build_connection at /home/ayam/Documents/kafarahapp/educode/lib/mysql/src/mysql/driver.cr 4:5
0x6c7880: build_resource at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db/pool.cr 255:3
0x6c77f6: initialize at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db/pool.cr 17:34
0x6c64ac: *DB::Pool(T)::new:initial_pool_size:max_pool_size:max_idle_pool_size:checkout_timeout:retry_attempts:retry_delay<Int32, Int32, Int32, Float64, Int32, Float64, &Proc(DB::Connection+)>:DB::Pool(DB::Connection+) at ??
0x6b6a42: initialize at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db/database.cr 50:7
0x6b684d: new at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db/database.cr 43:5
0x6af506: build_database at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db.cr 140:5
0x6af4ee: build_database at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db.cr 136:5
0x6af4d6: open at /home/ayam/Documents/kafarahapp/educode/lib/db/src/db.cr 104:5
0x4ebf16: __crystal_main at /home/ayam/Documents/kafarahapp/educode/src/educode.cr 16:1
0x4ffdf9: main at /opt/crystal/src/main.cr 12:15
0x7f80b6f04830: __libc_start_main at ??
0x4ea489: _start at ??
0x0: ??? at ??
from crystal-mysql.
finally, i see , sorry , today reply this issue. occur the Exception that because crystal-mysql lib is not support any mysql filed type now, ex: mediumInt , you may be modify table , use some common filed type ,ex: Int instead of mediumInt.
from crystal-mysql.
Related Issues (20)
- Unexpected EOF on ubuntu aarch64 HOT 2
- Generic `Exception`s raised in `MySql::Connection` HOT 6
- packet 254 not implemented -- still struggling with
- Release a new version HOT 2
- Crystal 0.24 HOT 4
- call Store procedure HOT 1
- "Client does not support authentication protocol requested by server; consider upgrading MySQL client (Exception)" HOT 7
- BINARY and VARBINARY columns can only be read as string
- connection failure to mysql 8 HOT 11
- how to connect to mysql via unix_socket?
- Support JSON data type
- Register custom decoder? HOT 2
- Inconsistent return value types HOT 2
- Add support for bit(1) reading
- values of UInt8 data types get converted to 125 HOT 8
- Cannot read query_one result as Bool HOT 4
- Shards Issue : install does not work HOT 6
- Release 0.8.0 missing HOT 1
- Missing block in decl_type *Blob ?
- Support for MariaDB? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal-mysql.