[REBOL] Re: REBOL and MySql
From: fsievert:uos at: 5-Dec-2000 9:11
On Mon, 4 Dec 2000, David Hawley wrote:
> > > I don't think you can connect directly to MySQL with
> > > REBOL, I think you have to use ODBC. Which is the why
> > > I am currently learning PHP to rewrite my site.
> >
> > what about socket communication, possible?
>
> It should be fairly straight forward, but perhaps a bit inefficient to interface MySQL
using the mysql program - perhaps via litle-bell.r (a telnet client).
I've written a java server, which provides the connection to the database
for REBOL. The package is called "dbridge" and it has two parts:
- dbridge.r
Provides the dridge:// protocol. You can connect to a database using
something like:
open dbridge://user:passe/server/database
- dbridge.class
The Java side uses jdbc-drivers to connect to the database. It is works at
least with postgres and mysql. I am using both.
If you want this package, send me an email, but I don't have the time to
give any support for it.
CU,
Frank