OK, so i have been experimenting with mySQL and QB64 under Linux (Ubuntu 20.04) and here is what i have discovered.
Using Pipecom by SpriggsySpriggs, I have been able to impliment a rudimentary mySQL interface
Here is the code for creating and adding to the database
Shell "echo 'CREATE DATABASE epos' | mysql -uroot" Shell "echo 'CREATE TABLE plu (item CHAR(20), price CHAR(20), grp CHAR(20), tax CHAR(20), kit CHAR(20))' | mysql -uroot epos"
Shell "echo " + Chr$(34) + "INSERT INTO plu (item, price, grp, tax, kit) VALUES ('" + item$
+ "', " + price$
+ ", " + grp$
+ ", " + tax$
+ ", " + kit$
+ ")" + Chr$(34) + " | mysql -uroot epos"
'$INCLUDE:'pipecom.bas'
And here is the code for reading the data back
price_search
Input "Enter item Name >", q$
query$
= pipecom_lite
("echo " + Chr$(34) + "SELECT price FROM plu WHERE item = '" + q$
+ "'" + Chr$(34) + " | mysql -uroot epos -s") Print "the price of " + q$
+ " is " + query$
q$ = ""
query$ = ""
'$INCLUDE:'pipecom.bas'
Not sure if this is useful to anyone but here it is anyway