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
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode