Java DBbridge
[1/3] from: nhytro:compuserve at: 6-Dec-2000 20:06
Hello Frank!
could you send me the java source too? I would greatly appreciate it
my email address: [nhytro--compuserve--com]
Any chance of skipping the Java part and just connectiong over TCP/IP?
Mysql can be accessed somehow at port 3306, but I haveßnt found any useful
documentation on this, not even at the mysql site.
Regards
Sharriff
[2/3] from: jr::brainbyte::com at: 6-Dec-2000 20:14
Yes that would be great if you could connect MySql via TCP/IP.
Would make everything so much easier.
Java, ooh that scares me...
Jeff
[3/3] 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
http://www.worldserver.com/mm.mysql/
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: