Hans, thanks for your answer. I also tried \usemodule[sql] with the same result however!

The system I use is Ubuntu 18.01 and installed TeXStudio, that's all.

That also installs TeX/LaTeX/ConTeXt, but probably that's causing the issues!

Hopefully a complete reinstall of TeXLive will solve the issue.

Regards,
Gerard

On 03-06-2021 20:43, Hans Hagen wrote:
On 6/3/2021 12:51 PM, Gerard Verhaag wrote:
Hi,

I'm trying to get MySQL data access working but can't solve the issues I'm encountering. Part of my code looks like:
it's probably better to use

  \usemodule[sql]

you also need to have the sql library in the tex binary tree

(see manual)

(in luatex/mkiv it's best to use the ffi variant that interfaces to the mysql library; in luametatex/lmtx it's a - by default - build in optional which loads the lib on demand; in all cases most happens in lua)

so, if it doesn't work, you have to explain your setup

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
--

Sender: G.C.H.M. Verhaag
              St. Jorisstraat 29
              5954 AN Beesel
              NETHERLANDS

      Tel.: +31-(0)619502702, E-mail: verhaaggchm@ziggo.nl

Ik vertrouw erop dat de persoonlijke gegevens, te vinden in deze mail,
uitsluitend voor correspondentie met ondergetekende worden gebruikt en
beslist niet voor reclamedoeleinden of welke andere wijze dan ook. Het
opnemen van deze gegevens, in welk soort van opslagsysteem dan ook,
evenals het doorgeven ervan aan derden, zie ik als een schending van
mijn privacy.