Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Strange mysql scheme port errors

From: kracik::mbox::dkm::cz at: 17-Feb-2001 14:00

Hi, First, congratulations to DocKimbel for the mysql:// scheme. However, I got these errors when I try a simple select from a movie database:
>> db: open mysql://rebol:[reb--192--168--22--4]/rebtest
connecting to: 192.168.22.4
>> insert db "show tables"
== none
>> first db
== [["tFilm"]]
>> insert db "select * from tFilm"
== none
>> first db
Now REBOL/Core 2.3.0.3.1 prints: ** User Error: Error: inconsistent packet length !. ** Where: first db while REBOL/View 0.10.38.3.1 and REBOL/core (Experimental) 2.4.40.3.1 print: ** User Error: Error: end of stream not found. ** Where: first db Also, a shorter sequence works in /Core 2.3.0.3.1, but cannot close the port in /View 0.10.38.3.1 and experimental /Core 2.4.40.3.1:
>> db: open mysql://rebol:[reb--192--168--22--4]/rebtest
connecting to: 192.168.22.4
>> insert db "select * from tFilm"
== none
>> first db
== [[1 "Higher Learning" 1994 127 "John Singleton" {Jennifer Connelly, Ice Cube, Omar Epps, Michael Rapaport}]]
>> close db
** Access Error: Network timeout ** Near: close db I use MySQL 3.22.32 on FreeBSD 4.0, REBOL on Windows NT and mysql-protocol version 0.8.4. I can access the table with MySQL ODBC driver from Microsoft Access and REBOL/Command beta. -- Michal Kracik