I launch the the script this way:
Code: Select all
/opt/livecode/livecode.x86_64 -ui /home/max/file.livecodescript
How can I solve this? Where I should put the database drivers? I tried in many places without success.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
/opt/livecode/livecode.x86_64 -ui /home/max/file.livecodescript
Probably worth mentioning what OS (linux?) and what LC version?MaxV wrote: ↑Thu Jul 17, 2025 4:29 pmI'm trying to use a pure livecode script (file.livecodescript) to access to a MySQL database, but it doesn't work outside the Livecode IDE.
I launch the the script this way:
and I get error the line with revOpenDatabase function. Probably the script can't reach the database drivers.Code: Select all
/opt/livecode/livecode.x86_64 -ui /home/max/file.livecodescript
How can I solve this? Where I should put the database drivers? I tried in many places without success.
Code: Select all
$ livecode-server myscript.lc