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

[REBOL] Re: Java DBbridge

From: kracik:mbox:dkm:cz at: 7-Dec-2000 14:32

Hi Sharriff, I looked at it a while ago. The only documentation of the protocol is its open source implementation in Java - other languages connect to MySQL through its C client library, but Java and REBOL can't be linked against the library so they must communicate via TCP at port 3306. IMHO it would not be too hard to convert the relevant part of Java JDBC driver to REBOL. Unfortunately, the MySQL protocol is binary and not text like most Internet protocols, so it's not that easy to parse in REBOL. I wanted to try it myself but unfortunately I don't have time for it. The MM Mysql JDBC driver with source is at so it would be great if anyone tried it. BTW just reading Java source and understanding what's going on is easier than writing programs in Java, so IMHO one doesn't have to be a Java expert to convert the driver to REBOL (and no, I'm not a Java expert either :-). Regards, Michal Kracik Sharriff Aina wrote: