Hi all
On Windows, I have to put the libmysql.dll library file in the PxPlus folder to be able to use the [mysql] tag to access a MySQL database
On Linux, I did a copy of libmysqlclient.so in the pxplus directory, but I keep on getting an error 15 when opening a channel to MySQL
I did a chown, chgrp to my user & group and a chmod 777 on the file to make sure it wasn't a permissions issue, did not work either
Also tried adding the PxPlus directory to the PATH variable and exported it before starting pxplus, no more success
PxPlus-2020 Web (Ver:17.10/UNIX-Linux-Ubuntu) Serno:1710-664-2130620
(c) Copyright 2005-2020 PVX Plus Technologies Ltd. (All rights reserved)
Website: http://www.pvxplus.com
->? env("PATH")
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/steph/heron/pxplus
->
->open(1)"[mysql]compass_demo;;server=localhost;user=admin;password=password"
Error #15: Operating system command failed
Unable to load libmysqlclient.so (err/ret=2/2)
->
total 43144
-rw------- 1 steph steph 223687 avril 24 2020 ca-bundle.crt
drwxrwxr-x 36 steph steph 12288 nov. 30 10:25 lib
-rw-r--r-- 1 steph steph 3167132 sept. 23 01:29 libhpls.a
-rwxr-xr-x 1 steph steph 1914200 sept. 23 01:29 libhpls.so
-rwxr-xr-x 1 steph steph 336072 déc. 1 11:59 libmysqlclient.so
-rwxr-xr-x 1 steph steph 2908920 sept. 23 01:33 libpvx.so
-rw-rw-rw- 1 steph steph 44 nov. 30 10:25 lic_approval.txt
-rw-r--r-- 1 steph steph 12865 sept. 23 01:33 licenses_3rdparty.txt
-rw-r--r-- 1 steph steph 10074 sept. 23 01:33 license.txt
-rw-r--r-- 1 steph steph 1347 sept. 23 01:33 magic
-rwxr-xr-x 1 steph steph 670184 sept. 23 01:31 PxIO.so
-rw-rw-r-- 1 steph steph 31469184 nov. 30 10:18 pxp1710-0000-U20-64.taz
-rw-r--r-- 1 steph steph 11 sept. 23 01:33 pxp_build
-rwxr-xr-x 1 steph steph 2558632 sept. 23 01:32 pxplus
-rwxr-xr-x 1 steph steph 36672 sept. 23 01:33 pxpreg
-rwxr-xr-x 1 steph steph 804456 sept. 23 01:31 pxserver
-rw------- 1 steph steph 1404 sept. 23 01:31 pxserver.conf
-rwxr-xr-x 1 steph steph 461 sept. 23 01:33 runconfig
-rwxr-xr-x 1 steph steph 584 sept. 23 01:33 runserver
-rwxr-xr-x 1 steph steph 1154 sept. 23 01:33 stopserver
What else am I missing ?
TIA