mysql to valentina using libdatabase
Robert Mann
robmann at gp-racing.com
Mon Jan 1 21:15:19 EST 2007
The registerDatabaseA seems to be working/connecting but when I run the
DoMysqlDump I get an error can't find handler, I even tried to add this to
the recipes card and get the same error, I could not get the valentina to
connect so I thought that I would create a SQLdump and try Valentina Studio
to import
ON preOpenStack
start using stack "lib.bmm.Database"
start using stack "lib.bmm.DatabaseObjects"
pass preOpenStack
END preOpenStack
ON RegisterDatabaseA
put "mysql" into theConnectInfoA["Type"]
put "localhost" into theConnectInfoA["Host"]
put "name" into theConnectInfoA["Name"]
put "username" into theConnectInfoA["Username"]
put "password" into theConnectInfoA["Password"]
libdb_registerDatabase "SuspensionDB", theConnectInfoA_# Associates
connection settings with "RecipesDB" key.
put libdb_getConnectionID (SuspensionDB) into fld "fieldmysqlid" //
checking to make sure connected to database
END RegisterDatabaseA
ON DoMysqlDump
libdb_getSQLDump ("SuspensionDB","empty" ,"empty" , "true",
"true","empty" , "mysqldump.sql")//tried this with and without the () no
difference still get error
END DoMysqlDump
Thanks
Robert Mann
More information about the use-livecode
mailing list