mysql to valentina using libdatabase

Robert Mann robmann at
Fri Dec 29 12:05:26 EST 2006

Not sure but I just am not able to work at least I don't think it is
working, this maybe simply my lack of some of rev's tools i.e. message box,
I know the database is in mysql "recipies" and the host is localhost would
someone be gracious enough to point me in the right direction to get this
I tried the below from Trevor I do not get any errors but now how do I know
that it connected?

Robert Mann

-----Original Message-----
From: use-revolution-bounces at
[mailto:use-revolution-bounces at]On Behalf Of Trevor
Sent: Friday, December 29, 2006 11:02 AM
To: How to use Revolution
Subject: Re: mysql to valentina using libdatabase

On Dec 28, 2006, at 6:52 PM, Robert Mann wrote:

> trying to convert a mysql database to a valentina database
> searching the
> list I ran across libDatabase and looks like it will do the
> conversion, I am
> just having a hard time figuring out how to use it tried to go
> through the
> getting started, to run this do you put the following in the
> message box?
> put "mysql" into tDbA["Type"]
> put "localhost" into tDbA["Host"]
> put "recipes" into tDbA["Name"]
> put "root" into tDbA["Username"]
> put "" into tDbA["Password"]
> libDatabase_RegisterDatabase "myrecipesdb", tDbA
> libDatabase_Connect "myrecipesdb"
> libDatabase_GetDBConnectionID("myrecipesdb")


It looks like you are using the version 1 syntax.  You should
download version 2 of libDatabase if you are just getting started
with it.

Then syntax in 2.0 would be:

libdb_registerDatabase "myrecipesdb", tDbA
libdb_connect "myrecipesdb"
put libdb_getConnectionID("myrecipesdb") into theConnectionID

Trevor DeVore
Blue Mango Learning Systems -
trevor at

use-revolution mailing list
use-revolution at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the Use-livecode mailing list