mysql to valentina using libdatabase

rchilderic at free.fr rchilderic at free.fr
Wed Jan 3 18:28:59 EST 2007


Selon Robert Mann <robmann at gp-racing.com>:

> I was following the getting started I see the changes now, am I correct that
> to use liDatabase you input this through the message box?
>
> Robert Mann
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Trevor
> DeVore
> 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")
>
> Robert,
>
> 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 - www.bluemangolearning.com
> trevor at bluemangolearning.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
cessez de remplir ma boite d'inutilite merci!!!!!!!!




More information about the use-livecode mailing list