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

REBOL & MYSQL using DBRIDGE.

 [1/6] from: mike_berrisford::admin::state::ak::us at: 20-Nov-2001 16:29


Hello, Has anyone managed to connect to a Mysql database using the Dbridge protocol, and if so, are you able to supply detailed instructions? I downloaded dbridge.r from Frank''s site. I also downloaded the dbridge.java file, compiled it to produce the 2 class files. I downloaded the jdbc driver from the MYSQL site. When i "do %dbridge.r", i don't get the message about the dbridge protocol being loaded? Thanks.

 [2/6] from: koopmans:itr:ing:nl at: 21-Nov-2001 9:05


I think you should use dockimbel's pure rebol mysql driver: Very fast and good! sites/dockimbel --Maarten On Wednesday 21 November 2001 02:29, you wrote:

 [3/6] from: g:santilli:tiscalinet:it at: 21-Nov-2001 15:53


[mike_berrisford--admin--state--ak--us] wrote:
> Has anyone managed to connect to a Mysql database using the Dbridge protocol, and if so, are you able to supply detailed instructions?
Just curious, is there any reason you can't use DocKimbel's wonderful mysql-protocol.r to interface directly to MySQL? Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [4/6] from: mike_berrisford:admin:state:ak:us at: 21-Nov-2001 11:58


Using "do %dbridge.r" in Core/2.5 returns the protocol loaded message, under Desktop/console, nothing is returned. Thanks for the suugestion to use DocKimbels mysql protocol, it works great. Using the mysql protocol, db: open mysql://username:[password--localhost]/mysql is all that is needed. Using the dbridge protocol, the documentation shows db: open dbridge://username:[password--dbridgeserver]///dbserver/database. What is the dbridgeserver and dbserver?

 [5/6] from: mike_berrisford:admin:state:ak:us at: 21-Nov-2001 14:36


Changing the port from 5571 to 3306 in both dbridge.r and dbridge.java means i can now connect to the database, i think. But i get no response when i issue any SQL queries, ah, so close and yet so far. Happy Thanksgiving to you all. gobble gobble.

 [6/6] from: g:santilli:tiscalinet:it at: 22-Nov-2001 14:31


[mike_berrisford--admin--state--ak--us] wrote:
> Using "do %dbridge.r" in Core/2.5 returns the protocol loaded message, under Desktop/console, nothing is returned.
/View is quiet by default, so that is the reason. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/