Git Product home page Git Product logo

Comments (7)

lgphp avatar lgphp commented on July 4, 2024

now only 17 fields exception ,why?>

from crystal-mysql.

lgphp avatar lgphp commented on July 4, 2024

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.

lgphp avatar lgphp commented on July 4, 2024

o ,i see

from crystal-mysql.

bcardiff avatar bcardiff commented on July 4, 2024

@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.

bcardiff avatar bcardiff commented on July 4, 2024

Closing. Please reopen if the issue was not solved.

from crystal-mysql.

codenoid avatar codenoid commented on July 4, 2024
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 ??

crystal-lang/crystal-db#58

from crystal-mysql.

lgphp avatar lgphp commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.