Using MySQL on (headless) Linux

Mark Wieder ahsoftware at sonic.net
Mon Feb 1 14:37:48 EST 2021


On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote:
> 
> With thanks to friends here who helped me install and start using LC on 
> a headless Linux box. I've now another little problem... my stack tries 
> and fails to connect to a MySQL database.
> 
> When it attempts to call revOpenDatabase, it throws error 219, "error in 
> function handler". I take it that this means it can't find or hasn't 
> loaded the revdb external.
> 
> I've installed livecodecommunity-9.6.1.x86_64, and I launch it with
>    ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ 
> Community.x86_64 -ui <mystack.livecode>
> 
> I can see revdb.so and dbmysql.so are in the Externals directory. Is 
> there something explicit I need to do to load these?

"error in function handler" is a pretty generic response - sort of the 
engine's version of ¯\_(ツ)_/¯. Is the MySQL database local to the server 
machine or on a different computer? Does this work locally before moving 
the stack to the headless linux box?

-- 
  Mark Wieder
  ahsoftware at gmail.com



More information about the use-livecode mailing list