I wonder if it is possible to connect to a MariaDB server and insert data using TCP Sockets. I have a S7-1200 series PLC (industrial controller) and I am trying to connect to a MariaDB server to perform INSERT. I tried using this Function Blocks created by Siemens but apparently, they only work with Microsoft SQL (https://support.industry.siemens.com/cs/ao/en/view/109779336)
I am able to connect with the server using any Socket TCP client but I fail to login, so I believe that might be a way to use Sockets to INSERT data.
The TDS protocol that Siemens support is only implemented on SQL Server and not MariaDB. With a bit of engineering effort it could be implemented for MariaDB, potentially as a plugin.
Using MariaDB's CONNECT engine you may be able to do a JDBC connection to the SQL Server if you want to access the data from MariaDB.